We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d822dd commit a937906Copy full SHA for a937906
src/store/index.js
@@ -70,7 +70,7 @@ const mutations = {
70
state.currentSize = localStorage.getItem('size') || config.sizeOption[2].value
71
state.codeTheme = localStorage.getItem('codeTheme') || config.codeThemeOption[0].value
72
state.citeStatus = localStorage.getItem('citeStatus') === 'true'
73
- state.nightMode = localStorage.getItem('nightMode') || false
+ state.nightMode = localStorage.getItem('nightMode') === 'true'
74
state.wxRenderer = new WxRenderer({
75
theme: setColor(state.currentColor),
76
fonts: state.currentFont,
0 commit comments