Merge pull request #80 from Bitcoin-com/dev-jb

Improvement
This commit is contained in:
Jean-Baptiste Dominguez 2018-04-26 10:09:50 +09:00 committed by GitHub
commit 3dda150a11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,6 +237,12 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
$scope.protocolHandler = walletService.getProtocolHandler($scope.wallet);
}
$scope.$watch('showWallets' , function () {
if ($scope.showingPaymentReceived) {
$scope.showingPaymentReceived = false;
}
});
$scope.onWalletSelect = function(wallet) {
$scope.wallet = wallet;
setProtocolHandler();