From ee582855d2f6ea02d8ee3cc4536b0b71ccece920 Mon Sep 17 00:00:00 2001 From: Shpuld Shpludson Date: Fri, 28 Feb 2020 17:20:40 +0000 Subject: [PATCH] Apply suggestion to src/modules/instance.js --- src/modules/instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/instance.js b/src/modules/instance.js index f96337e476..ffece31129 100644 --- a/src/modules/instance.js +++ b/src/modules/instance.js @@ -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)