Timothy J. Baek 1 год назад
Родитель
Сommit
b660a4815e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -156,7 +156,7 @@
 		} else {
 			isRecording = true;
 
-			if ($settings?.voice?.STTEngine ?? '' !== '') {
+			if ($settings?.audio?.STTEngine ?? '' !== '') {
 				startRecording();
 			} else {
 				if ('SpeechRecognition' in window || 'webkitSpeechRecognition' in window) {