You've already forked AstralRinth
forked from didirus/AstralRinth
Fix theme store race condition (#4885)
Co-authored-by: Calum H. <contact@cal.engineer>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user