Implement shortcuts found in the Articles menu of NNW for Mac

This commit is contained in:
Maurice Parker
2019-09-05 15:43:01 -05:00
parent afce6ff26f
commit 9a52834b7a
4 changed files with 25 additions and 2 deletions

View File

@@ -87,4 +87,12 @@ class RootSplitViewController: UISplitViewController {
coordinator.selectStarredFeed()
}
@objc func toggleRead(_ sender: Any?) {
coordinator.toggleReadForCurrentArticle()
}
@objc func toggleStarred(_ sender: Any?) {
coordinator.toggleStarredForCurrentArticle()
}
}