Automatically remove Feed items if they should be filtered. Issue #1950
This commit is contained in:
parent
f288e3d5d8
commit
17ec88801a
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue