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() {
|
async function setupApp() {
|
||||||
stateInitialized.value = true
|
|
||||||
const {
|
const {
|
||||||
native_decorations,
|
native_decorations,
|
||||||
theme,
|
theme,
|
||||||
@@ -260,6 +259,7 @@ async function setupApp() {
|
|||||||
themeStore.toggleSidebar = toggle_sidebar
|
themeStore.toggleSidebar = toggle_sidebar
|
||||||
themeStore.devMode = developer_mode
|
themeStore.devMode = developer_mode
|
||||||
themeStore.featureFlags = feature_flags
|
themeStore.featureFlags = feature_flags
|
||||||
|
stateInitialized.value = true
|
||||||
|
|
||||||
isMaximized.value = await getCurrentWindow().isMaximized()
|
isMaximized.value = await getCurrentWindow().isMaximized()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user