diff --git a/phpmon/Domain/App/AppDelegate+InterApp.swift b/phpmon/Domain/App/AppDelegate+InterApp.swift index fc51c16a..9afc6020 100644 --- a/phpmon/Domain/App/AppDelegate+InterApp.swift +++ b/phpmon/Domain/App/AppDelegate+InterApp.swift @@ -42,7 +42,7 @@ extension AppDelegate { ) } - private func promptToEnableIntegrations() -> Bool { + @MainActor private func promptToEnableIntegrations() -> Bool { UserDefaults.standard.set(true, forKey: PersistentAppState.didPromptForIntegrations.rawValue) UserDefaults.standard.synchronize()