更新软件默认使用的字体

This commit is contained in:
lyswhut
2024-11-26 18:03:52 +08:00
parent 7ebfd43f65
commit 4e1510c840
16 changed files with 140 additions and 23 deletions
+1
View File
@@ -59,6 +59,7 @@ void getSetting().then(setting => {
void updateSetting({ 'common.langId': langId })
console.log('Set lang', setting['common.langId'])
}
window.setLang(setting['common.langId'])
window.i18n.setLanguage(setting['common.langId'])
if (!setting['common.startInFullscreen'] && (document.body.clientHeight > window.screen.availHeight || document.body.clientWidth > window.screen.availWidth) && setting['common.windowSizeId'] > 1) {