Skip to content

Commit

Permalink
Clean up intents.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Nov 9, 2023
1 parent f2e35b0 commit 8bc904b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DuckDuckGo/VPNIntents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8bc904b

Please sign in to comment.