Add expand and collapse all folders shortcuts

This commit is contained in:
Maurice Parker
2019-09-05 16:38:33 -05:00
parent 734ce4bc67
commit 6d24ea642a
2 changed files with 39 additions and 4 deletions

View File

@@ -418,6 +418,16 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
}
}
@objc func expandAll(_ sender: Any?) {
coordinator.expandAllSectionsAndFolders()
self.applyChanges(animate: true)
}
@objc func collapseAllExceptForGroupItems(_ sender: Any?) {
coordinator.collapseAllFolders()
self.applyChanges(animate: true)
}
// MARK: API
func updateFeedSelection() {