rename Keycard flow

This commit is contained in:
Michele Balistreri 2021-10-05 09:16:30 +03:00 committed by Iuri Matias
parent 3016fd4ec1
commit 879550d332
3 changed files with 6 additions and 6 deletions

View File

@ -375,7 +375,7 @@ StatusWindow {
DSM.State {
id: keycardState
onEntered: loader.sourceComponent = keycard
onEntered: loader.sourceComponent = keycardFlowSelection
DSM.SignalTransition {
targetState: appState
@ -420,7 +420,7 @@ StatusWindow {
DSM.SignalTransition {
targetState: keycardState
signal: applicationWindow.navigateTo
guard: path === "Keycard"
guard: path === "KeycardFlowSelection"
}
DSM.FinalState {
@ -542,7 +542,7 @@ StatusWindow {
KeysMain {
btnGenKey.onClicked: applicationWindow.navigateTo("GenKey")
btnExistingKey.onClicked: applicationWindow.navigateTo("ExistingKey")
btnKeycard.onClicked: applicationWindow.navigateTo("Keycard")
btnKeycard.onClicked: applicationWindow.navigateTo("KeycardFlowSelection")
}
}
@ -574,8 +574,8 @@ StatusWindow {
}
Component {
id: keycard
Keycard {
id: keycardFlowSelection
KeycardFlowSelection {
onClosed: function () {
if (hasAccounts) {
applicationWindow.navigateTo("InitialState")

View File

@ -7,4 +7,4 @@ EnterSeedPhraseModal 1.0 EnterSeedPhraseModal.qml
CreatePasswordModal 1.0 CreatePasswordModal.qml
GenKeyModal 1.0 GenKeyModal.qml
BeforeGetStartedModal 1.0 BeforeGetStartedModal.qml
Keycard 1.0 Keycard.qml
KeycardFlowSelection 1.0 KeycardFlowSelection.qml