修复设置迁移问题

pull/930/merge
lyswhut 2022-03-11 11:30:47 +08:00
parent 2b0c75a649
commit 65027fceba
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ exports.initSetting = isShowErrorAlert => {
}
// 迁移v1.19.0之前的主题设置
if (setting.themeId) {
if (setting.themeId != null) {
setting.theme.id = setting.themeId
delete setting.themeId
}