Merge pull request #3086 from babbage/feature/mac-PersistentSmartFeeds
Always show Smart Feeds on macOS. Fixes #3052 on macOS
This commit is contained in:
commit
3d49fd8e76
|
@ -56,9 +56,7 @@ private extension WebFeedTreeControllerDelegate {
|
||||||
|
|
||||||
func childNodesForSmartFeeds(_ parentNode: Node) -> [Node] {
|
func childNodesForSmartFeeds(_ parentNode: Node) -> [Node] {
|
||||||
return SmartFeedsController.shared.smartFeeds.compactMap { (feed) -> Node? in
|
return SmartFeedsController.shared.smartFeeds.compactMap { (feed) -> Node? in
|
||||||
if let feedID = feed.feedID, !filterExceptions.contains(feedID) && isReadFiltered && feed.unreadCount == 0 {
|
// All Smart Feeds should remain visible despite the Hide Read Feeds setting
|
||||||
return nil
|
|
||||||
}
|
|
||||||
return parentNode.existingOrNewChildNode(with: feed as AnyObject)
|
return parentNode.existingOrNewChildNode(with: feed as AnyObject)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue