mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
Fix Saving Configuration Bug
This commit is contained in:
@@ -149,10 +149,11 @@ class Main extends React.Component {
|
||||
const { dispatch, config } = this.props
|
||||
|
||||
this.refreshTheme = setInterval(() => {
|
||||
chooseTheme(ConfigManager.get().ui)
|
||||
const conf = ConfigManager.get()
|
||||
chooseTheme(conf)
|
||||
}, 5 * 1000)
|
||||
|
||||
chooseTheme(config.ui)
|
||||
chooseTheme(config)
|
||||
applyTheme(config.ui.theme)
|
||||
|
||||
if (getLocales().indexOf(config.ui.language) !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user