From 139cc4b236ddac11ada92b50faadd1a01aa00e9c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 12 Sep 2019 10:27:03 -0500 Subject: [PATCH] Add the ability to hide the Feeds when in three panel mode --- iOS/SceneCoordinator.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 1aac0b2e2..94f1aa7cd 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1458,11 +1458,13 @@ private extension SceneCoordinator { configureDoubleSplit() installTimelineControllerIfNecessary(animated: false) - + masterTimelineViewController?.navigationItem.leftBarButtonItem = rootSplitViewController.displayModeButtonItem + masterTimelineViewController?.navigationItem.leftItemsSupplementBackButton = true + // Create the new sub split controller and add the timeline in the primary position let masterTimelineNavController = subSplitViewController!.viewControllers.first as! UINavigationController masterTimelineNavController.viewControllers = [masterTimelineViewController!] - + // Put the detail or no selection controller in the secondary (or detail) position of the sub split let navController = addNavControllerIfNecessary(controller, showButton: false) subSplitViewController!.showDetailViewController(navController, sender: self)