Fetch theme info from @meta

This commit is contained in:
Pleromian 2025-04-13 21:16:09 +02:00
commit dc65bbc051
2 changed files with 11 additions and 3 deletions

View file

@ -521,16 +521,18 @@ export const useInterfaceStore = defineStore('interface', {
theme3hacks
} = window.vuex.state.config
this.themeChangeInProgress = true
// If we're not not forced to recompile try using
// If we're not forced to recompile try using
// cache (tryLoadCache return true if load successful)
const forceRecompile = forceThemeRecompilation || recompile
await this.getThemeData()
if (!forceRecompile && !themeDebug && await tryLoadCache()) {
this.themeChangeInProgress = false
return this.setThemeApplied()
}
window.splashUpdate('splash.theme')
await this.getThemeData()
try {
const paletteIss = (() => {