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) {
|
func selectFeed(_ indexPath: IndexPath) {
|
||||||
masterTimelineViewController = UIStoryboard.main.instantiateController(ofType: MasterTimelineViewController.self)
|
if let _ = navControllerForTimeline().viewControllers.first as? MasterTimelineViewController {
|
||||||
masterTimelineViewController!.coordinator = self
|
currentMasterIndexPath = indexPath
|
||||||
currentMasterIndexPath = indexPath
|
} else {
|
||||||
navControllerForTimeline().pushViewController(masterTimelineViewController!, animated: true)
|
masterTimelineViewController = UIStoryboard.main.instantiateController(ofType: MasterTimelineViewController.self)
|
||||||
|
masterTimelineViewController!.coordinator = self
|
||||||
|
currentMasterIndexPath = indexPath
|
||||||
|
navControllerForTimeline().pushViewController(masterTimelineViewController!, animated: true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func selectArticle(_ indexPath: IndexPath) {
|
func selectArticle(_ indexPath: IndexPath) {
|
||||||
|
Loading…
Reference in New Issue
Block a user