mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +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,10 +1058,15 @@ 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)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Private
|
||||
|
Loading…
x
Reference in New Issue
Block a user