mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Clear the feed when we navigate back to the Feeds and Timeline isn't showing.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user