From 879550d3325dad7a04ae118a2bc252b084ef4acf Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Tue, 5 Oct 2021 09:16:30 +0300 Subject: [PATCH] rename Keycard flow --- ui/main.qml | 10 +++++----- .../{Keycard.qml => KeycardFlowSelection.qml} | 0 ui/onboarding/qmldir | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename ui/onboarding/{Keycard.qml => KeycardFlowSelection.qml} (100%) diff --git a/ui/main.qml b/ui/main.qml index 65e58e0915..f8579428cb 100644 --- a/ui/main.qml +++ b/ui/main.qml @@ -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") diff --git a/ui/onboarding/Keycard.qml b/ui/onboarding/KeycardFlowSelection.qml similarity index 100% rename from ui/onboarding/Keycard.qml rename to ui/onboarding/KeycardFlowSelection.qml diff --git a/ui/onboarding/qmldir b/ui/onboarding/qmldir index 3a0fa79ed6..bd3417bd78 100644 --- a/ui/onboarding/qmldir +++ b/ui/onboarding/qmldir @@ -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