Incorporate closure from mac-release

Enables ios-candidate branch to build macOS target.
This commit is contained in:
Duncan Babbage 2021-04-27 13:07:09 +12:00
parent 2e81c050dc
commit 2ea86c1e14
1 changed files with 2 additions and 2 deletions

View File

@ -832,7 +832,7 @@ private extension AppDelegate {
os_log(.debug, "No article found from search using %@", articleID) os_log(.debug, "No article found from search using %@", articleID)
return return
} }
account!.markArticles(article!, statusKey: .read, flag: true) account!.markArticles(article!, statusKey: .read, flag: true) { _ in }
} }
func handleMarkAsStarred(userInfo: [AnyHashable: Any]) { func handleMarkAsStarred(userInfo: [AnyHashable: Any]) {
@ -851,6 +851,6 @@ private extension AppDelegate {
os_log(.debug, "No article found from search using %@", articleID) os_log(.debug, "No article found from search using %@", articleID)
return return
} }
account!.markArticles(article!, statusKey: .starred, flag: true) account!.markArticles(article!, statusKey: .starred, flag: true) { _ in }
} }
} }