From 9077498cdf65fcfb674721f82ebe9425574515c3 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Thu, 26 Feb 2026 22:23:19 +0100 Subject: [PATCH] fix: fix the blank screen on startup --- src/qml/ExecutionZoneWalletView.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/qml/ExecutionZoneWalletView.qml b/src/qml/ExecutionZoneWalletView.qml index 943b2e6..854f0d5 100644 --- a/src/qml/ExecutionZoneWalletView.qml +++ b/src/qml/ExecutionZoneWalletView.qml @@ -51,8 +51,10 @@ Rectangle { QtObject { id: d readonly property bool isWalletOpen: backend && backend.isWalletOpen - onIsWalletOpenChanged: { - if(isWalletOpen) { + onIsWalletOpenChanged: updateStack(isWalletOpen) + + function updateStack(walletOpen) { + if(walletOpen) { stackView.push(mainView) } else { stackView.push(onboardingView) @@ -60,6 +62,8 @@ Rectangle { } } + Component.onCompleted: d.updateStack(backend && backend.isWalletOpen) + color: Theme.palette.background StackView {