mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-04 04:52:10 +08:00
修复切换问题
This commit is contained in:
parent
f3ac526b51
commit
202bcf6f54
@ -16,7 +16,7 @@ export default memo(() => {
|
||||
const setIsAutoTheme = (isHideBgDark: boolean) => {
|
||||
updateSetting({ 'theme.hideBgDark': isHideBgDark })
|
||||
void getTheme().then(theme => {
|
||||
if (theme.id != 'black' || !settingState.setting['common.isAutoTheme']) return
|
||||
if (theme.id != 'black' && !settingState.setting['common.isAutoTheme']) return
|
||||
applyTheme(theme)
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user