fix bug in speech recogniser available check

This commit is contained in:
gavine99
2025-03-31 16:32:01 +11:00
parent 6fe32a22d5
commit d2074c13d3
@@ -676,7 +676,7 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
}
override fun startSpeechRecognition() {
if (!isSpeechRecognitionAvailable()) {
if (isSpeechRecognitionAvailable()) {
val intent = Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH).apply {
putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM)
}