From c470e56c399b88916f36ee52bab4487065f9a2ad Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 10 Sep 2019 17:02:41 -0500 Subject: [PATCH] Clear the feed when we navigate back to the Feeds and Timeline isn't showing. --- iOS/SceneCoordinator.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 09cfff8d8..32771448b 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1058,9 +1058,14 @@ extension SceneCoordinator: UISplitViewControllerDelegate { extension SceneCoordinator: UINavigationControllerDelegate { func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) { - if rootSplitViewController.isCollapsed && viewController === masterFeedViewController { + + if viewController === masterFeedViewController { activityManager.invalidateCurrentActivities() + if !rootSplitViewController.isCollapsed { + selectFeed(nil) + } } + } }