fix(@onboarding): back button on seed phrase
This commit is contained in:
parent
f0f0b47d9c
commit
d87e03e969
|
@ -83,6 +83,12 @@ QtObject {
|
|||
signal: Global.applicationWindow.navigateTo
|
||||
guard: path === "LogIn"
|
||||
}
|
||||
|
||||
DSM.SignalTransition {
|
||||
targetState: importSeedState
|
||||
signal: Global.applicationWindow.navigateTo
|
||||
guard: path === "ImportSeed"
|
||||
}
|
||||
}
|
||||
|
||||
DSM.State {
|
||||
|
@ -219,6 +225,7 @@ QtObject {
|
|||
}
|
||||
}
|
||||
onSeedValidated: {
|
||||
root.keysMainSetState = "importseed";
|
||||
Global.applicationWindow.navigateTo("GenKey");
|
||||
}
|
||||
}
|
||||
|
@ -228,7 +235,10 @@ QtObject {
|
|||
id: genKey
|
||||
GenKeyView {
|
||||
onExit: {
|
||||
if (LoginStore.currentAccount.username !== "") {
|
||||
if (root.keysMainSetState === "importseed") {
|
||||
root.keysMainSetState = "connectkeys"
|
||||
Global.applicationWindow.navigateTo("ImportSeed");
|
||||
} else if (LoginStore.currentAccount.username !== "") {
|
||||
Global.applicationWindow.navigateTo("LogIn");
|
||||
} else {
|
||||
Global.applicationWindow.navigateTo("KeysMain");
|
||||
|
|
Loading…
Reference in New Issue