mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +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()
|
||||
}
|
||||
|
||||
@objc func toggleSidebar(_ sender: Any?) {
|
||||
coordinator.toggleSidebar()
|
||||
}
|
||||
|
||||
// MARK: API
|
||||
|
||||
func restoreSelectionIfNecessary(adjustScroll: Bool) {
|
||||
|
@ -133,5 +133,8 @@ class RootSplitViewController: UISplitViewController {
|
||||
@objc func toggleStarred(_ sender: Any?) {
|
||||
coordinator.toggleStarredForCurrentArticle()
|
||||
}
|
||||
|
||||
|
||||
@objc func toggleSidebar(_ sender: Any?) {
|
||||
coordinator.toggleSidebar()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user