mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-04 19:29:41 +00:00
Always show Smart Feeds. Fixes #3052
Display Smart Feeds always, even when read articles are being hidden and all articles from a feed have been marked as read, and even when there are no items in a Smart Feed.
This commit is contained in:
1 parent
19c43ac5cc
commit
a4d9f018f6
1 file changed
+1
-3
@@ -56,9 +56,7 @@ private extension WebFeedTreeControllerDelegate {
|
||||
|
||||
func childNodesForSmartFeeds(_ parentNode: Node) -> [Node] {
|
||||
return SmartFeedsController.shared.smartFeeds.compactMap { (feed) -> Node? in
|
||||
if let feedID = feed.feedID, !filterExceptions.contains(feedID) && isReadFiltered && feed.unreadCount == 0 {
|
||||
return nil
|
||||
}
|
||||
// All Smart Feeds should remain visible despite the Hide Read Feeds setting
|
||||
return parentNode.existingOrNewChildNode(with: feed as AnyObject)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user