Fix return value of AppIntents in iOS 17
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ struct BuildPeerConfigurationUpdate: AppIntent {
|
||||
)
|
||||
var endpoint: String
|
||||
|
||||
func perform() async throws -> some IntentResult {
|
||||
func perform() async throws -> some IntentResult & ReturnsValue<AppIntentsPeer> {
|
||||
let peerConfigurationUpdate = AppIntentsPeer()
|
||||
peerConfigurationUpdate.publicKey = publicKey
|
||||
peerConfigurationUpdate.endpoint = endpoint
|
||||
|
||||
Reference in New Issue
Block a user