fix(@desktop/onboarding): Keycard -> Factory reset button is not calling any action

Fixes: #11256
This commit is contained in:
Sale Djenic 2023-06-27 11:29:31 +02:00 committed by saledjenic
parent bf62ef0366
commit 961764e3a8
1 changed files with 10 additions and 5 deletions

View File

@ -182,10 +182,10 @@ following the \"Add existing Status user\" flow, using your seed phrase.")
}
function onDisplayKeycardSharedModuleFlow() {
Global.openPopup(keycardPopup);
keycardPopup.active = true
}
function onDestroyKeycardSharedModuleFlow() {
Global.closePopup();
keycardPopup.active = false
}
}
@ -339,11 +339,16 @@ following the \"Add existing Status user\" flow, using your seed phrase.")
}
}
Component {
Loader {
id: keycardPopup
KeycardPopup {
anchors.centerIn: parent
active: false
anchors.centerIn: parent
sourceComponent: KeycardPopup {
sharedKeycardModule: root.startupStore.startupModuleInst.keycardSharedModule
}
onLoaded: {
keycardPopup.item.open()
}
}
}