diff options
author | Alessio Nossa <alessio.nossa@gmail.com> | 2024-02-28 00:24:09 +0100 |
---|---|---|
committer | Alessio Nossa <alessio.nossa@gmail.com> | 2024-02-28 00:36:19 +0100 |
commit | 8a2a4ebd9fcef6eb37ceab687e455d18aaaf62d2 (patch) | |
tree | ca0b31f8ed68d3f0f7d927e363a97ba197216209 | |
parent | Update AppIntents Strings (diff) | |
download | wireguard-apple-8a2a4ebd9fcef6eb37ceab687e455d18aaaf62d2.tar.xz wireguard-apple-8a2a4ebd9fcef6eb37ceab687e455d18aaaf62d2.zip |
Add backwards compatibility of GetPeers wit SiriKit version
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
-rw-r--r-- | Sources/WireguardAppIntents/GetPeers.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Sources/WireguardAppIntents/GetPeers.swift b/Sources/WireguardAppIntents/GetPeers.swift index 00e5399..fe6ba48 100644 --- a/Sources/WireguardAppIntents/GetPeers.swift +++ b/Sources/WireguardAppIntents/GetPeers.swift @@ -5,7 +5,9 @@ import Foundation import AppIntents @available(iOS 16.0, macOS 13.0, watchOS 9.0, tvOS 16.0, *) -struct GetPeers: AppIntent { +struct GetPeers: AppIntent, CustomIntentMigratedAppIntent { + + static var intentClassName: String = "GetPeersIntent" static var title = LocalizedStringResource("getPeersIntentName", table: "AppIntents") static var description = IntentDescription( |