Convert markArticles to async await.

This commit is contained in:
Brent Simmons
2024-03-26 18:48:44 -07:00
parent bf58443fe1
commit 402ee970cc
11 changed files with 105 additions and 23 deletions

View File

@@ -1001,7 +1001,7 @@ private extension AppDelegate {
return
}
account.markArticles(articles, statusKey: .read, flag: true) { _ in }
try? await account.markArticles(articles, statusKey: .read, flag: true)
}
}
@@ -1022,7 +1022,7 @@ private extension AppDelegate {
return
}
account.markArticles(articles, statusKey: .starred, flag: true) { _ in }
try? await account.markArticles(articles, statusKey: .starred, flag: true)
}
}
}