Improvement - 339 - "Payment received" screen is skipped after first transaction

This commit is contained in:
Sebastiaan Pasma 2018-05-21 17:37:21 +02:00 committed by Sebastiaan Pasma
commit 56a59093ee
2 changed files with 6 additions and 2 deletions

View file

@ -126,7 +126,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
}
}
$scope.paymentReceivedCoin = $scope.wallet.coin;
$scope.showingPaymentReceived = true
$scope.showingPaymentReceived = true;
$scope.$apply();
}
}
@ -248,6 +248,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
$scope.setAddress();
};
$scope.togglePaymentScreen = function() {
$scope.showingPaymentReceived = !$scope.showingPaymentReceived;
};
$scope.showWalletSelector = function() {
if ($scope.singleWallet) return;
$scope.walletSelectorTitle = gettextCatalog.getString('Select a wallet');