From 93f6debae6e67a032431eb6a0bb42a9fd546d851 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 9 Sep 2019 17:40:18 -0500 Subject: [PATCH] Changed preffered display mode to all visible --- iOS/SceneCoordinator.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 4850739cc..a13bf48f2 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -278,7 +278,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { func start(for size: CGSize) -> UIViewController { rootSplitViewController = RootSplitViewController() rootSplitViewController.coordinator = self - rootSplitViewController.preferredDisplayMode = .automatic + rootSplitViewController.preferredDisplayMode = .allVisible rootSplitViewController.viewControllers = [ThemedNavigationController.template()] rootSplitViewController.delegate = self @@ -289,11 +289,8 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { masterFeedViewController.coordinator = self masterNavigationController.pushViewController(masterFeedViewController, animated: false) - let systemMessageViewController = UIStoryboard.main.instantiateController(ofType: SystemMessageViewController.self) - let detailNavController = addNavControllerIfNecessary(systemMessageViewController, showButton: true) - let shimController = UIViewController() - shimController.replaceChildAndPinView(detailNavController) - rootSplitViewController.showDetailViewController(shimController, sender: self) + let noSelectionController = fullyWrappedSystemMesssageController(showButton: true) + rootSplitViewController.showDetailViewController(noSelectionController, sender: self) configureThreePanelMode(for: size)