mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add delete feed keyboard shortcut
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>title</key>
|
||||
<string>Collapse Selected Rows</string>
|
||||
<string>Collapse Selected Row</string>
|
||||
<key>key</key>
|
||||
<string>,</string>
|
||||
<key>action</key>
|
||||
@@ -18,7 +18,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>title</key>
|
||||
<string>Expand Selected Rows</string>
|
||||
<string>Expand Selected Row</string>
|
||||
<key>key</key>
|
||||
<string>.</string>
|
||||
<key>action</key>
|
||||
|
||||
@@ -398,6 +398,12 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
coordinator.showBrowserForCurrentFeed()
|
||||
}
|
||||
|
||||
@objc override func delete(_ sender: Any?) {
|
||||
if let indexPath = coordinator.currentFeedIndexPath {
|
||||
delete(indexPath: indexPath)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: API
|
||||
|
||||
func updateFeedSelection() {
|
||||
|
||||
Reference in New Issue
Block a user