fix: typo fix

This commit is contained in:
kwaroran
2024-06-03 17:37:25 +09:00
parent 5d15d75b51
commit 2ffc85cad8

View File

@@ -239,7 +239,7 @@ export async function translateHTML(html: string, reverse:boolean, charArg:simpl
return html
}
}
if(db.translatorType === 'llm' && (isTauri || Capacitor.isNativePlatform())){
if(db.translatorType === 'llm' && (!(isTauri || Capacitor.isNativePlatform()))){
const tr = db.translator || 'en'
return translateLLM(html, {to: tr})
}