From 2ea86c1e148c1873f682ba076d44aac75d6d6c7f Mon Sep 17 00:00:00 2001 From: Duncan Babbage Date: Tue, 27 Apr 2021 13:07:09 +1200 Subject: [PATCH] Incorporate closure from mac-release Enables ios-candidate branch to build macOS target. --- Mac/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 52b0abd0f..cb0ac2b15 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -832,7 +832,7 @@ private extension AppDelegate { os_log(.debug, "No article found from search using %@", articleID) return } - account!.markArticles(article!, statusKey: .read, flag: true) + account!.markArticles(article!, statusKey: .read, flag: true) { _ in } } func handleMarkAsStarred(userInfo: [AnyHashable: Any]) { @@ -851,6 +851,6 @@ private extension AppDelegate { os_log(.debug, "No article found from search using %@", articleID) return } - account!.markArticles(article!, statusKey: .starred, flag: true) + account!.markArticles(article!, statusKey: .starred, flag: true) { _ in } } }