mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
Correct settings display size. Issue #1236
This commit is contained in:
1 parent
9ea5a0ce1f
commit
01c8eb3ad5
2 files changed
-3
No files matched your search
@@ -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!
|
||||
|
||||
Reference in new issue
Block a user