Fix - 339 - receive is executed by an event out of angular, apply.
This commit is contained in:
parent
56a59093ee
commit
c5ae87e898
2 changed files with 6 additions and 5 deletions
|
|
@ -126,8 +126,9 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
}
|
||||
}
|
||||
$scope.paymentReceivedCoin = $scope.wallet.coin;
|
||||
$scope.showingPaymentReceived = true;
|
||||
$scope.$apply();
|
||||
$scope.$apply(function () {
|
||||
$scope.showingPaymentReceived = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -248,8 +249,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
$scope.setAddress();
|
||||
};
|
||||
|
||||
$scope.togglePaymentScreen = function() {
|
||||
$scope.showingPaymentReceived = !$scope.showingPaymentReceived;
|
||||
$scope.hidePaymentScreen = function() {
|
||||
$scope.showingPaymentReceived = false;
|
||||
};
|
||||
|
||||
$scope.showWalletSelector = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue