mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 20:37:34 +01:00
Correct settings display size. Issue #1236
This commit is contained in:
parent
9ea5a0ce1f
commit
01c8eb3ad5
@ -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)
|
||||
}
|
||||
|
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user