mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
FIx navigation feed clearing code so that it works in three panel mode
This commit is contained in:
parent
4fa9ec0828
commit
670ae92f04
@ -1049,16 +1049,17 @@ extension SceneCoordinator: UISplitViewControllerDelegate {
|
||||
// MARK: UINavigationControllerDelegate
|
||||
|
||||
extension SceneCoordinator: UINavigationControllerDelegate {
|
||||
|
||||
func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
|
||||
|
||||
if viewController === masterFeedViewController {
|
||||
// If we are showing the Feeds and only the feeds start clearing stuff
|
||||
if viewController === masterFeedViewController && !isThreePanelMode {
|
||||
activityManager.invalidateCurrentActivities()
|
||||
if !rootSplitViewController.isCollapsed {
|
||||
selectFeed(nil)
|
||||
}
|
||||
selectFeed(nil)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: Private
|
||||
|
Loading…
Reference in New Issue
Block a user