mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change settings from using SwiftUI to using UIKit
This commit is contained in:
@@ -786,9 +786,10 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
}
|
||||
|
||||
func showSettings() {
|
||||
rootSplitViewController.present(style: .formSheet) {
|
||||
SettingsView(viewModel: SettingsView.ViewModel()).environment(\.sceneCoordinator, self)
|
||||
}
|
||||
let settingsNavController = UIStoryboard.settings.instantiateInitialViewController() as! UINavigationController
|
||||
settingsNavController.modalPresentationStyle = .formSheet
|
||||
settingsNavController.preferredContentSize = SettingsViewController.preferredContentSizeForFormSheetDisplay
|
||||
masterFeedViewController.present(settingsNavController, animated: true)
|
||||
}
|
||||
|
||||
func showFeedInspector() {
|
||||
|
||||
Reference in New Issue
Block a user