mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-04 19:29:41 +00:00
Fix timeline selection in three pane mode
This commit is contained in:
1 parent
1ddf4189d3
commit
d2a09a92ae
1 file changed
+8
-4
@@ -441,10 +441,14 @@ class AppCoordinator: NSObject, UndoableCommandRunner {
|
||||
}
|
||||
|
||||
func selectFeed(_ indexPath: IndexPath) {
|
||||
masterTimelineViewController = UIStoryboard.main.instantiateController(ofType: MasterTimelineViewController.self)
|
||||
masterTimelineViewController!.coordinator = self
|
||||
currentMasterIndexPath = indexPath
|
||||
navControllerForTimeline().pushViewController(masterTimelineViewController!, animated: true)
|
||||
if let _ = navControllerForTimeline().viewControllers.first as? MasterTimelineViewController {
|
||||
currentMasterIndexPath = indexPath
|
||||
} else {
|
||||
masterTimelineViewController = UIStoryboard.main.instantiateController(ofType: MasterTimelineViewController.self)
|
||||
masterTimelineViewController!.coordinator = self
|
||||
currentMasterIndexPath = indexPath
|
||||
navControllerForTimeline().pushViewController(masterTimelineViewController!, animated: true)
|
||||
}
|
||||
}
|
||||
|
||||
func selectArticle(_ indexPath: IndexPath) {
|
||||
|
||||
Reference in new issue
Block a user