From 8bc904b3c2586a635044c2b04918e7f8464f1b7d Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Thu, 9 Nov 2023 14:25:59 -0800 Subject: [PATCH] Clean up intents. --- DuckDuckGo/VPNIntents.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/DuckDuckGo/VPNIntents.swift b/DuckDuckGo/VPNIntents.swift index 2ab76f5f73..63e960cdd0 100644 --- a/DuckDuckGo/VPNIntents.swift +++ b/DuckDuckGo/VPNIntents.swift @@ -25,11 +25,8 @@ struct DisableVPNIntent: AppIntent { static let title: LocalizedStringResource = "Disable VPN" static let description: LocalizedStringResource = "Disables the DuckDuckGo VPN" - - /// Launch your app when the system triggers this intent. static let openAppWhenRun: Bool = false - /// Define the method that the system calls when it triggers this event. @MainActor func perform() async throws -> some IntentResult { do { @@ -58,7 +55,6 @@ struct EnableVPNIntent: AppIntent { static let title: LocalizedStringResource = "Enable VPN" static let description: LocalizedStringResource = "Enables the DuckDuckGo VPN" - static let openAppWhenRun: Bool = false @MainActor