aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Nossa <alessio.nossa@gmail.com>2024-02-28 00:26:10 +0100
committerAlessio Nossa <alessio.nossa@gmail.com>2024-02-28 00:36:19 +0100
commit2f99f5c78171e53da2015d0786293ebc1b39c26c (patch)
tree91db21c918ae211b84a2a802606b17c4ab705886
parentAdd backwards compatibility of GetPeers wit SiriKit version (diff)
downloadwireguard-apple-2f99f5c78171e53da2015d0786293ebc1b39c26c.tar.xz
wireguard-apple-2f99f5c78171e53da2015d0786293ebc1b39c26c.zip
Remove backward compatibility of GetPeers with SiriKit version
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
-rw-r--r--Sources/WireguardAppIntents/GetPeers.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/Sources/WireguardAppIntents/GetPeers.swift b/Sources/WireguardAppIntents/GetPeers.swift
index fe6ba48..00e5399 100644
--- a/Sources/WireguardAppIntents/GetPeers.swift
+++ b/Sources/WireguardAppIntents/GetPeers.swift
@@ -5,9 +5,7 @@ import Foundation
import AppIntents
@available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *)
-struct GetPeers: AppIntent, CustomIntentMigratedAppIntent {
-
- static var intentClassName: String = "GetPeersIntent"
+struct GetPeers: AppIntent {
static var title = LocalizedStringResource("getPeersIntentName", table: "AppIntents")
static var description = IntentDescription(