From e9b125a6a1ae54f5bfad0169547cb93ff42294a8 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 5 May 2026 14:26:40 +0300 Subject: [PATCH] fix importing theme file from old editor --- .../tabs/old_theme_tab/old_theme_tab.js | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/components/settings_modal/tabs/old_theme_tab/old_theme_tab.js b/src/components/settings_modal/tabs/old_theme_tab/old_theme_tab.js index d46ddcb52..83f993c86 100644 --- a/src/components/settings_modal/tabs/old_theme_tab/old_theme_tab.js +++ b/src/components/settings_modal/tabs/old_theme_tab/old_theme_tab.js @@ -509,22 +509,14 @@ export default { } }, setCustomTheme() { - useInterfaceStore().setThemeV2({ - customTheme: { - ignore: true, - themeFileVersion: this.selectedVersion, - themeEngineVersion: CURRENT_VERSION, - ...this.previewTheme, - }, - customThemeSource: { - themeFileVersion: this.selectedVersion, - themeEngineVersion: CURRENT_VERSION, - shadows: this.shadowsLocal, - fonts: this.fontsLocal, - opacity: this.currentOpacity, - colors: this.currentColors, - radii: this.currentRadii, - }, + useInterfaceStore().setTheme({ + themeFileVersion: this.selectedVersion, + themeEngineVersion: CURRENT_VERSION, + shadows: this.shadowsLocal, + fonts: this.fontsLocal, + opacity: this.currentOpacity, + colors: this.currentColors, + radii: this.currentRadii, }) }, updatePreviewColors() {