Merge pull request #224 from floyd-li/master

fix: dark mode toggle
master
Archer 3 years ago committed by GitHub
commit 539410536c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@ const { wsCache } = useCache()
// //
const setDefaultTheme = () => { const setDefaultTheme = () => {
if (wsCache.get('isDark')) { if (wsCache.get('isDark') !== null) {
appStore.setIsDark(wsCache.get('isDark')) appStore.setIsDark(wsCache.get('isDark'))
return return
} }

Loading…
Cancel
Save