From dd8c70f558016884f5aa45cb79f63d7ff644fd59 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 18 Jul 2019 18:51:40 -0500 Subject: [PATCH] Hook up initial detail view controller back button --- iOS/AppCoordinator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/AppCoordinator.swift b/iOS/AppCoordinator.swift index 8994beb41..24aa8a088 100644 --- a/iOS/AppCoordinator.swift +++ b/iOS/AppCoordinator.swift @@ -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 }