Hook up initial detail view controller back button

This commit is contained in:
Maurice Parker 2019-07-18 18:51:40 -05:00
parent b5411cde42
commit dd8c70f558
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ class AppCoordinator: UndoableCommandRunner {
masterFeedViewController = (masterNavigationController.topViewController as! MasterFeedViewController) masterFeedViewController = (masterNavigationController.topViewController as! MasterFeedViewController)
masterFeedViewController.coordinator = self masterFeedViewController.coordinator = self
// let detailNavigationController = (rootSplitViewController.viewControllers.last as! UINavigationController) let detailNavigationController = (rootSplitViewController.viewControllers.last as! UINavigationController)
// detailNavigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem detailNavigationController.topViewController!.navigationItem.leftBarButtonItem = rootSplitViewController.displayModeButtonItem
return rootSplitViewController return rootSplitViewController
} }