feat: 语音的问题修复
This commit is contained in:
1 parent
98d380edd8
commit
c9f93cfa7f
2 files changed
+40
-1
No files matched your search
@@ -185,6 +185,7 @@ let appStopFallbackTimer = null;
|
||||
let hasSentAppRecognition = false;
|
||||
|
||||
const resetUI = () => {
|
||||
isVoicePressing.value = false;
|
||||
isRecording.value = false;
|
||||
visibleWaveBtn.value = false;
|
||||
try {
|
||||
@@ -418,7 +419,6 @@ const handleVoiceTouchEnd = () => {
|
||||
};
|
||||
|
||||
const handleVoiceTouchEndFromContainer = () => {
|
||||
if (speechProvider !== "app") return;
|
||||
if (!hasActiveVoiceRecognition()) return;
|
||||
stopActiveVoiceRecognition({ shouldSend: true });
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user