Apply suggestion to src/modules/instance.js
This commit is contained in:
parent
5b7acca0ba
commit
ee582855d2
|
@ -163,7 +163,7 @@ const instance = {
|
|||
|
||||
// New theme presets don't have 'theme' property, they use 'source'
|
||||
const themeSource = themeData.source
|
||||
if (themeSource && themeSource.themeEngineVersion === CURRENT_VERSION) {
|
||||
if (!themeData.theme || (themeSource && themeSource.themeEngineVersion === CURRENT_VERSION)) {
|
||||
applyTheme(themeSource)
|
||||
} else {
|
||||
applyTheme(themeData.theme)
|
||||
|
|
Loading…
Reference in New Issue