Add backwards compatibility of GetPeers wit SiriKit version

Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
This commit is contained in:
Alessio Nossa
2024-02-28 00:24:09 +01:00
parent 06ed6e91ad
commit 8a2a4ebd9f
+3 -1
View File
@@ -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(