mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Filter out any recommended feeds that might be json
This commit is contained in:
@@ -315,7 +315,7 @@ final class ReaderAPIAccountDelegate: AccountDelegate {
|
||||
|
||||
switch result {
|
||||
case .success(let feedSpecifiers):
|
||||
let feedSpecifiers = feedSpecifiers.filter { !$0.urlString.hasSuffix(".json") }
|
||||
let feedSpecifiers = feedSpecifiers.filter { !$0.urlString.contains("json") }
|
||||
guard let bestFeedSpecifier = FeedSpecifier.bestFeed(in: feedSpecifiers) else {
|
||||
completion(.failure(AccountError.createErrorNotFound))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user