Update listening state when the recognizer times out.

This commit is contained in:
Jeremy Rand 2021-07-20 19:14:08 -04:00
parent b389139826
commit 07d3bb88c7
2 changed files with 3 additions and 1 deletions

View File

@ -214,6 +214,8 @@ struct ContentView: View {
self.recognitionRequest = nil
self.recognitionTask = nil
self.listening = false
guard let client = client else { return }
client.send(data: isListening())
}
}

View File

@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>73</string>
<string>76</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSSpeechRecognitionUsageDescription</key>