From 915d8c68bf04de7158057a498ba7ced9857d2532 Mon Sep 17 00:00:00 2001 From: Nicholis Date: Mon, 12 Jan 2026 14:15:34 +0200 Subject: [PATCH] Fix theme store race condition (#4885) Co-authored-by: Calum H. --- apps/app-frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app-frontend/src/App.vue b/apps/app-frontend/src/App.vue index 73c7d4a6..cea0a0e4 100644 --- a/apps/app-frontend/src/App.vue +++ b/apps/app-frontend/src/App.vue @@ -221,7 +221,6 @@ const messages = defineMessages({ }) async function setupApp() { - stateInitialized.value = true const { native_decorations, theme, @@ -260,6 +259,7 @@ async function setupApp() { themeStore.toggleSidebar = toggle_sidebar themeStore.devMode = developer_mode themeStore.featureFlags = feature_flags + stateInitialized.value = true isMaximized.value = await getCurrentWindow().isMaximized()