Remove temporarily the Delete menu item from the sidebar gear menu.

This commit is contained in:
Brent Simmons 2018-02-04 12:15:59 -08:00
parent c26c705de0
commit 6b14d6e8d3
1 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ private extension SidebarViewController {
menu.addItem(NSMenuItem.separator())
menu.addItem(renameMenuItem(feed))
menu.addItem(deleteMenuItem([feed]))
// menu.addItem(deleteMenuItem([feed]))
return menu
}
@ -155,7 +155,7 @@ private extension SidebarViewController {
}
menu.addItem(renameMenuItem(folder))
menu.addItem(deleteMenuItem([folder]))
// menu.addItem(deleteMenuItem([folder]))
return menu.numberOfItems > 0 ? menu : nil
}
@ -170,10 +170,10 @@ private extension SidebarViewController {
if anyObjectInArrayHasNonZeroUnreadCount(objects) {
menu.addItem(markAllReadMenuItem(objects))
menu.addItem(NSMenuItem.separator())
// menu.addItem(NSMenuItem.separator())
}
menu.addItem(deleteMenuItem(objects))
// menu.addItem(deleteMenuItem(objects))
return menu.numberOfItems > 0 ? menu : nil
}