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