Merge pull request #3085 from babbage/feature/ios-PersistentSmartFeeds
Always show smart feeds on iOS. Fixes #3052 on iOS
This commit is contained in:
commit
45d62ec20d
|
@ -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