Merge pull request #3085 from babbage/feature/ios-PersistentSmartFeeds

Always show smart feeds on iOS. Fixes #3052 on iOS
This commit is contained in:
Brent Simmons
2021-04-27 18:01:21 -07:00
committed by GitHub

View File

@@ -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)
}
}