mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Add fatalError to functions that should never be called because they are Searches.
This commit is contained in:
@@ -37,8 +37,8 @@ struct SearchFeedDelegate: SmartFeedDelegate {
|
||||
}
|
||||
|
||||
func fetchUnreadArticlesBetween(before: Date? = nil, after: Date? = nil) throws -> Set<Article> {
|
||||
// TODO FILTER BY SEARCH
|
||||
return try AccountManager.shared.fetchUnreadArticlesBetween(limit: nil, before: before, after: after)
|
||||
fatalError("Function not implemented.")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ struct SearchTimelineFeedDelegate: SmartFeedDelegate {
|
||||
}
|
||||
|
||||
func fetchUnreadArticlesBetween(before: Date? = nil, after: Date? = nil) throws -> Set<Article> {
|
||||
// TODO FILTER BY SEARCH
|
||||
return try AccountManager.shared.fetchUnreadArticlesBetween(limit: nil, before: before, after: after)
|
||||
fatalError("Function not implemented.")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user