Fix infinite loading when authing wallet during Checkout

This commit is contained in:
Zach Fox 2018-03-26 13:12:34 -07:00
parent 11f5e7812b
commit a588776b47

View file

@ -1160,14 +1160,14 @@ Rectangle {
function authSuccessStep() {
if (!root.debugCheckoutSuccess) {
root.activeView = "checkoutMain";
} else {
root.activeView = "checkoutSuccess";
root.ownershipStatusReceived = false;
Commerce.alreadyOwned(root.itemId);
root.availableUpdatesReceived = false;
Commerce.getAvailableUpdates(root.itemId);
root.balanceReceived = false;
Commerce.balance();
} else {
root.activeView = "checkoutSuccess";
}
}