diff --git a/iOS/AppCoordinator.swift b/iOS/AppCoordinator.swift index 2f38efa41..323e8f30b 100644 --- a/iOS/AppCoordinator.swift +++ b/iOS/AppCoordinator.swift @@ -508,7 +508,7 @@ class AppCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider { } func selectFeed(_ indexPath: IndexPath) { - if let _ = navControllerForTimeline().viewControllers.first as? MasterTimelineViewController { + if navControllerForTimeline().viewControllers.filter({ $0 is MasterTimelineViewController }).count > 0 { currentMasterIndexPath = indexPath } else { masterTimelineViewController = UIStoryboard.main.instantiateController(ofType: MasterTimelineViewController.self)