Fix: Now useAutoTranslateInput is turned off, translation requests are not made.

This commit is contained in:
sub-hub
2025-03-09 21:09:58 +09:00
committed by GitHub
parent 5fc36ce323
commit 48b470bf06

View File

@@ -317,6 +317,9 @@
}); });
async function updateInputTransateMessage(reverse: boolean) { async function updateInputTransateMessage(reverse: boolean) {
if(!DBState.db.useAutoTranslateInput){
return
}
if(isExpTranslator()){ if(isExpTranslator()){
if(!reverse){ if(!reverse){
messageInputTranslate = '' messageInputTranslate = ''