move toggle side bar to RootSplitViewController

This commit is contained in:
Rizwan Mohamed Ibrahim 2020-05-13 21:57:02 +05:30
parent a9aefd252e
commit 32c8c038ee
No known key found for this signature in database
GPG Key ID: D5BEE468D448BCC5
2 changed files with 4 additions and 5 deletions

View File

@ -157,10 +157,6 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
coordinator.showFeedInspector()
}
@objc func toggleSidebar(_ sender: Any?) {
coordinator.toggleSidebar()
}
// MARK: API
func restoreSelectionIfNecessary(adjustScroll: Bool) {

View File

@ -134,4 +134,7 @@ class RootSplitViewController: UISplitViewController {
coordinator.toggleStarredForCurrentArticle()
}
@objc func toggleSidebar(_ sender: Any?) {
coordinator.toggleSidebar()
}
}