moved reloadStyle position in init
This commit is contained in:
parent
4c0f66ac75
commit
2a01b11ace
1 changed files with 3 additions and 3 deletions
|
@ -581,6 +581,9 @@ const app = new Vue({
|
|||
if (this.cfg.visual.theme != "default.less" && this.cfg.visual.theme != "") {
|
||||
this.setTheme(this.cfg.visual.theme)
|
||||
}
|
||||
if (this.cfg.visual.styles.length != 0) {
|
||||
this.reloadStyles()
|
||||
}
|
||||
|
||||
if (this.platform == "darwin") {
|
||||
this.chrome.windowControlPosition = "left"
|
||||
|
@ -899,9 +902,6 @@ const app = new Vue({
|
|||
this.$forceUpdate()
|
||||
}, 500)
|
||||
ipcRenderer.invoke("renderer-ready", true)
|
||||
if (this.cfg.visual.styles.length != 0) {
|
||||
this.reloadStyles()
|
||||
}
|
||||
document.querySelector("#LOADER").remove()
|
||||
if (this.cfg.general.themeUpdateNotification) {
|
||||
this.checkForThemeUpdates()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue