mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Fixed the message node intent (#1362)
This commit is contained in:
parent
40b28b7523
commit
ae9fa586ba
4 changed files with 12 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ struct MessageNodeIntent: AppIntent {
|
|||
Summary("Send \(\.$messageContent) to \(\.$nodeNumber)")
|
||||
}
|
||||
func perform() async throws -> some IntentResult {
|
||||
if !AccessoryManager.shared.isConnected {
|
||||
if await !AccessoryManager.shared.isConnected {
|
||||
throw AppIntentErrors.AppIntentError.notConnected
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue