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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if let feed = representedObject as? Feed, isReadFiltered, feed.unreadCount > 0 {
|
if isReadFiltered {
|
||||||
addTreeControllerToFilterExceptions()
|
|
||||||
queueRebuildTreeAndRestoreSelection()
|
queueRebuildTreeAndRestoreSelection()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -179,7 +178,6 @@ protocol SidebarDelegate: class {
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func batchUpdateDidPerform(_ notification: Notification) {
|
@objc func batchUpdateDidPerform(_ notification: Notification) {
|
||||||
addTreeControllerToFilterExceptions()
|
|
||||||
rebuildTreeAndRestoreSelection()
|
rebuildTreeAndRestoreSelection()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -221,7 +219,6 @@ protocol SidebarDelegate: class {
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func downloadArticlesDidUpdateUnreadCounts(_ note: Notification) {
|
@objc func downloadArticlesDidUpdateUnreadCounts(_ note: Notification) {
|
||||||
addTreeControllerToFilterExceptions()
|
|
||||||
rebuildTreeAndRestoreSelection()
|
rebuildTreeAndRestoreSelection()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue