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

View File

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