mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01: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:
parent
2e81c050dc
commit
c84fe751e6
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user