Fix login flow regression

This commit is contained in:
Zach Fox 2017-09-29 15:25:24 -07:00
parent bbbce96407
commit 4668294389
4 changed files with 8 additions and 0 deletions

View file

@ -68,6 +68,8 @@ Rectangle {
onLoginStatusResult: {
if (!isLoggedIn && root.activeView !== "needsLogIn") {
root.activeView = "needsLogIn";
} else {
commerce.getWalletStatus();
}
}

View file

@ -47,6 +47,8 @@ Item {
onLoginStatusResult: {
if (!isLoggedIn) {
sendToParent({method: "needsLogIn"});
} else {
commerce.getWalletStatus();
}
}

View file

@ -70,6 +70,8 @@ Rectangle {
onLoginStatusResult: {
if (!isLoggedIn && root.activeView !== "needsLogIn") {
root.activeView = "needsLogIn";
} else {
commerce.getWalletStatus();
}
}

View file

@ -62,6 +62,8 @@ Rectangle {
onLoginStatusResult: {
if (!isLoggedIn && root.activeView !== "needsLogIn") {
root.activeView = "needsLogIn";
} else if (isLoggedIn) {
commerce.getWalletStatus();
}
}