优化代码逻辑,修复潜在播放问题
This commit is contained in:
@@ -53,7 +53,7 @@ void getSetting().then(setting => {
|
||||
break
|
||||
}
|
||||
}
|
||||
if (langId == null) langId = 'en-us'
|
||||
langId ??= 'en-us'
|
||||
}
|
||||
setting['common.langId'] = langId
|
||||
void updateSetting({ 'common.langId': langId })
|
||||
|
||||
Reference in New Issue
Block a user