Automatically remove Feed items if they should be filtered. Issue #1950

This commit is contained in:
Maurice Parker 2020-03-27 18:00:03 -05:00
parent f288e3d5d8
commit 17ec88801a
1 changed files with 1 additions and 4 deletions

View File

@ -160,8 +160,7 @@ protocol SidebarDelegate: class {
return
}
if let feed = representedObject as? Feed, isReadFiltered, feed.unreadCount > 0 {
addTreeControllerToFilterExceptions()
if isReadFiltered {
queueRebuildTreeAndRestoreSelection()
}
}
@ -179,7 +178,6 @@ protocol SidebarDelegate: class {
}
@objc func batchUpdateDidPerform(_ notification: Notification) {
addTreeControllerToFilterExceptions()
rebuildTreeAndRestoreSelection()
}
@ -221,7 +219,6 @@ protocol SidebarDelegate: class {
}
@objc func downloadArticlesDidUpdateUnreadCounts(_ note: Notification) {
addTreeControllerToFilterExceptions()
rebuildTreeAndRestoreSelection()
}