From 2c673f439f26dbb8cc5712d2219c4b2c500e025c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 13 Feb 2026 14:31:57 +0200 Subject: [PATCH] interface.js --- src/stores/interface.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stores/interface.js b/src/stores/interface.js index 8d05ce44b..dfe788262 100644 --- a/src/stores/interface.js +++ b/src/stores/interface.js @@ -8,6 +8,7 @@ import { import { deserialize } from '../services/theme_data/iss_deserializer.js' import { useInstanceStore } from 'src/stores/instance.js' +import { useSyncConfigStore } from 'src/stores/sync_config.js' import { CURRENT_VERSION, @@ -402,13 +403,13 @@ export const useInterfaceStore = defineStore('interface', { styleCustomData: userStyleCustomData, palette: userPaletteName, paletteCustomData: userPaletteCustomData, - } = window.vuex.state.config + } = useSyncConfigStore().mergedConfig let { theme: userThemeV2Name, customTheme: userThemeV2Snapshot, customThemeSource: userThemeV2Source, - } = window.vuex.state.config + } = useSyncConfigStore().mergedConfig let majorVersionUsed @@ -573,7 +574,7 @@ export const useInterfaceStore = defineStore('interface', { }, async applyTheme({ recompile = false } = {}) { const { forceThemeRecompilation, themeDebug, theme3hacks } = - window.vuex.state.config + useSyncConfigStore().mergedConfig this.themeChangeInProgress = true // If we're not forced to recompile try using // cache (tryLoadCache return true if load successful)