Changed preffered display mode to all visible
This commit is contained in:
parent
d80d48916a
commit
93f6debae6
|
@ -278,7 +278,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||||
func start(for size: CGSize) -> UIViewController {
|
func start(for size: CGSize) -> UIViewController {
|
||||||
rootSplitViewController = RootSplitViewController()
|
rootSplitViewController = RootSplitViewController()
|
||||||
rootSplitViewController.coordinator = self
|
rootSplitViewController.coordinator = self
|
||||||
rootSplitViewController.preferredDisplayMode = .automatic
|
rootSplitViewController.preferredDisplayMode = .allVisible
|
||||||
rootSplitViewController.viewControllers = [ThemedNavigationController.template()]
|
rootSplitViewController.viewControllers = [ThemedNavigationController.template()]
|
||||||
rootSplitViewController.delegate = self
|
rootSplitViewController.delegate = self
|
||||||
|
|
||||||
|
@ -289,11 +289,8 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||||
masterFeedViewController.coordinator = self
|
masterFeedViewController.coordinator = self
|
||||||
masterNavigationController.pushViewController(masterFeedViewController, animated: false)
|
masterNavigationController.pushViewController(masterFeedViewController, animated: false)
|
||||||
|
|
||||||
let systemMessageViewController = UIStoryboard.main.instantiateController(ofType: SystemMessageViewController.self)
|
let noSelectionController = fullyWrappedSystemMesssageController(showButton: true)
|
||||||
let detailNavController = addNavControllerIfNecessary(systemMessageViewController, showButton: true)
|
rootSplitViewController.showDetailViewController(noSelectionController, sender: self)
|
||||||
let shimController = UIViewController()
|
|
||||||
shimController.replaceChildAndPinView(detailNavController)
|
|
||||||
rootSplitViewController.showDetailViewController(shimController, sender: self)
|
|
||||||
|
|
||||||
configureThreePanelMode(for: size)
|
configureThreePanelMode(for: size)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue