forked from AkkomaGang/akkoma-fe
Apply suggestion to src/modules/instance.js
This commit is contained in:
parent
5b7acca0ba
commit
ee582855d2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue