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 = (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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue