1
0
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:
Gonçalo Santos
2020-03-27 01:42:18 +00:00
parent 48c8164689
commit e1c95fb1f2
6 changed files with 125 additions and 100 deletions

View File

@@ -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) {