mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-20 21:40:43 +01:00
Fix timeline selection in three pane mode
This commit is contained in:
parent
1ddf4189d3
commit
d2a09a92ae
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user