yet another massive overhaul on how themes are loaded/applied

This commit is contained in:
Henry Jameson 2024-10-02 02:35:52 +03:00
commit ba4be2cb22
7 changed files with 381 additions and 259 deletions

View file

@ -350,7 +350,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
store.dispatch('setInstanceOption', { name: 'server', value: server })
await setConfig({ store })
await store.dispatch('setTheme')
await store.dispatch('applyTheme', { recompile: false })
applyConfig(store.state.config)