mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
move toggle side bar to RootSplitViewController
This commit is contained in:
parent
a9aefd252e
commit
32c8c038ee
@ -157,10 +157,6 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
|||||||
coordinator.showFeedInspector()
|
coordinator.showFeedInspector()
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func toggleSidebar(_ sender: Any?) {
|
|
||||||
coordinator.toggleSidebar()
|
|
||||||
}
|
|
||||||
|
|
||||||
// MARK: API
|
// MARK: API
|
||||||
|
|
||||||
func restoreSelectionIfNecessary(adjustScroll: Bool) {
|
func restoreSelectionIfNecessary(adjustScroll: Bool) {
|
||||||
|
@ -134,4 +134,7 @@ class RootSplitViewController: UISplitViewController {
|
|||||||
coordinator.toggleStarredForCurrentArticle()
|
coordinator.toggleStarredForCurrentArticle()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@objc func toggleSidebar(_ sender: Any?) {
|
||||||
|
coordinator.toggleSidebar()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user