Add fatalError to functions that should never be called because they are Searches.

This commit is contained in:
Maurice Parker
2022-12-12 16:23:16 -07:00
parent 4ae6f25047
commit 40efe2203e
2 changed files with 4 additions and 4 deletions

View File

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

View File

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