diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 8b8cfdbf2..4c9b8d82d 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -606,7 +606,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { installTimelineControllerIfNecessary(animated: !automated) } else { timelineFetcher = nil - + activityManager.invalidateSelecting() if rootSplitViewController.isCollapsed && navControllerForTimeline().viewControllers.last is MasterTimelineViewController { navControllerForTimeline().popViewController(animated: !automated) } @@ -1016,6 +1016,11 @@ extension SceneCoordinator: UINavigationControllerDelegate { selectFeed(nil) } + // If we are using a phone and navigate away from the detail, clear up the article resources (including activity) + if viewController === masterTimelineViewController && !isThreePanelMode && rootSplitViewController.isCollapsed { + selectArticle(nil) + } + } }