🔧 fix: STT/TTS external checks (#3409)

* fix: STT/TTS external

* remove unnecessary console log
This commit is contained in:
Marco Beretta 2024-07-20 23:14:01 +02:00 committed by GitHub
parent 422d1a2c91
commit 620973436c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,11 @@ function Speech() {
playbackRate: { value: playbackRate, setFunc: setPlaybackRate },
};
if (settings[key].value !== newValue || settings[key].value === newValue || !settings[key]) {
if (
(settings[key].value !== newValue || settings[key].value === newValue || !settings[key]) &&
settings[key].value !== 'sttExternal' &&
settings[key].value !== 'ttsExternal'
) {
return;
}