Correct settings display size. Issue #1236

This commit is contained in:
Maurice Parker 2019-11-03 07:30:36 -06:00
parent 9ea5a0ce1f
commit 01c8eb3ad5
2 changed files with 0 additions and 3 deletions

View File

@ -793,7 +793,6 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
let settingsNavController = UIStoryboard.settings.instantiateInitialViewController() as! UINavigationController
let settingsViewController = settingsNavController.topViewController as! SettingsViewController
settingsNavController.modalPresentationStyle = .formSheet
settingsNavController.preferredContentSize = SettingsViewController.preferredContentSizeForFormSheetDisplay
settingsViewController.presentingParentController = rootSplitViewController
rootSplitViewController.present(settingsNavController, animated: true)
}

View File

@ -15,8 +15,6 @@ class SettingsViewController: UITableViewController {
private let appNewsURLString = "https://nnw.ranchero.com/feed.json"
private weak var opmlAccount: Account?
static let preferredContentSizeForFormSheetDisplay = CGSize(width: 460.0, height: 400.0)
@IBOutlet weak var timelineSortOrderSwitch: UISwitch!
@IBOutlet weak var groupByFeedSwitch: UISwitch!
@IBOutlet weak var numberOfTextLinesLabel: UILabel!