Hook up initial detail view controller back button
This commit is contained in:
parent
b5411cde42
commit
dd8c70f558
|
@ -210,8 +210,8 @@ class AppCoordinator: UndoableCommandRunner {
|
|||
masterFeedViewController = (masterNavigationController.topViewController as! MasterFeedViewController)
|
||||
masterFeedViewController.coordinator = self
|
||||
|
||||
// let detailNavigationController = (rootSplitViewController.viewControllers.last as! UINavigationController)
|
||||
// detailNavigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem
|
||||
let detailNavigationController = (rootSplitViewController.viewControllers.last as! UINavigationController)
|
||||
detailNavigationController.topViewController!.navigationItem.leftBarButtonItem = rootSplitViewController.displayModeButtonItem
|
||||
|
||||
return rootSplitViewController
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue