Allow text connect

This commit is contained in:
Thomas Ricouard 2024-05-02 12:05:48 +02:00
parent 49a5c6a56a
commit 07af494dcb

View file

@ -10,7 +10,7 @@ struct PostIntent: AppIntent {
} }
static let openAppWhenRun: Bool = true static let openAppWhenRun: Bool = true
@Parameter(title: "Post content") @Parameter(title: "Post content", inputConnectionBehavior: .connectToPreviousIntentResult)
var content: String? var content: String?
func perform() async throws -> some IntentResult { func perform() async throws -> some IntentResult {