From b4c8a6920fe5efb28a8cedd5d2a490d09ecbd543 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 5 May 2024 22:35:18 -0700 Subject: [PATCH] Convert method to async. --- iOS/SceneDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/SceneDelegate.swift b/iOS/SceneDelegate.swift index 6d9aa39fa..cec52b3eb 100644 --- a/iOS/SceneDelegate.swift +++ b/iOS/SceneDelegate.swift @@ -52,10 +52,10 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { } } - func windowScene(_ windowScene: UIWindowScene, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) { + func windowScene(_ windowScene: UIWindowScene, performActionFor shortcutItem: UIApplicationShortcutItem) async -> Bool { appDelegate.resumeDatabaseProcessingIfNecessary() handleShortcutItem(shortcutItem) - completionHandler(true) + return true } func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {