fixes build error
This commit is contained in:
parent
9c761c80df
commit
7f702abc8a
|
@ -53,9 +53,9 @@ public enum AccountType: Int, Codable {
|
|||
}
|
||||
|
||||
public enum FetchType {
|
||||
case starred(Int?)
|
||||
case unread(Int?)
|
||||
case today(Int?)
|
||||
case starred(_: Int? = nil)
|
||||
case unread(_: Int? = nil)
|
||||
case today(_: Int? = nil)
|
||||
case folder(Folder, Bool)
|
||||
case webFeed(WebFeed)
|
||||
case articleIDs(Set<String>)
|
||||
|
|
|
@ -1235,7 +1235,7 @@ private extension MasterFeedViewController {
|
|||
let title = NSString.localizedStringWithFormat(localizedMenuText as NSString, account.nameForDisplay) as String
|
||||
let action = UIAction(title: title, image: AppAssets.markAllAsReadImage) { [weak self] action in
|
||||
MarkAsReadAlertController.confirm(self, coordinator: self?.coordinator, confirmTitle: title, sourceType: contentView) { [weak self] in
|
||||
if let articles = try? account.fetchArticles(.unread) {
|
||||
if let articles = try? account.fetchArticles(.unread()) {
|
||||
self?.coordinator.markAllAsRead(Array(articles))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue