diff --git a/src/js/controllers/tab-receive.js b/src/js/controllers/tab-receive.js index 1eef60954..fa5237090 100644 --- a/src/js/controllers/tab-receive.js +++ b/src/js/controllers/tab-receive.js @@ -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'); diff --git a/www/views/tab-receive.html b/www/views/tab-receive.html index d15088e47..4098c69b3 100644 --- a/www/views/tab-receive.html +++ b/www/views/tab-receive.html @@ -54,7 +54,7 @@ -