From: Alessio Nossa Date: Tue, 27 Feb 2024 23:24:09 +0000 (+0100) Subject: Add backwards compatibility of GetPeers wit SiriKit version X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2a4ebd9fcef6eb37ceab687e455d18aaaf62d2;p=thirdparty%2Fwireguard-apple.git Add backwards compatibility of GetPeers wit SiriKit version Signed-off-by: Alessio Nossa --- 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(