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
|
signal: Global.applicationWindow.navigateTo
|
||||||
guard: path === "LogIn"
|
guard: path === "LogIn"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DSM.SignalTransition {
|
||||||
|
targetState: importSeedState
|
||||||
|
signal: Global.applicationWindow.navigateTo
|
||||||
|
guard: path === "ImportSeed"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DSM.State {
|
DSM.State {
|
||||||
|
@ -219,6 +225,7 @@ QtObject {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onSeedValidated: {
|
onSeedValidated: {
|
||||||
|
root.keysMainSetState = "importseed";
|
||||||
Global.applicationWindow.navigateTo("GenKey");
|
Global.applicationWindow.navigateTo("GenKey");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -228,7 +235,10 @@ QtObject {
|
||||||
id: genKey
|
id: genKey
|
||||||
GenKeyView {
|
GenKeyView {
|
||||||
onExit: {
|
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");
|
Global.applicationWindow.navigateTo("LogIn");
|
||||||
} else {
|
} else {
|
||||||
Global.applicationWindow.navigateTo("KeysMain");
|
Global.applicationWindow.navigateTo("KeysMain");
|
||||||
|
|
Loading…
Reference in New Issue