Fix: Send Max still being used even though user selected No the Send Max prompt
This commit is contained in:
parent
2ec9c351cb
commit
4965a76322
1 changed files with 4 additions and 1 deletions
|
|
@ -470,7 +470,10 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
var u = $scope.unit == 'BCH' || $scope.unit == 'BTC' ? $scope.unit : $scope.alternativeUnit;
|
var u = $scope.unit == 'BCH' || $scope.unit == 'BTC' ? $scope.unit : $scope.alternativeUnit;
|
||||||
var message = 'Are you sure you want to send ' + u.toUpperCase() + '?';
|
var message = 'Are you sure you want to send ' + u.toUpperCase() + '?';
|
||||||
popupService.showConfirm(message, '', 'Yes', 'No', function(res) {
|
popupService.showConfirm(message, '', 'Yes', 'No', function(res) {
|
||||||
if (!res) return;
|
if (!res) {
|
||||||
|
$scope.useSendMax = null;
|
||||||
|
return;
|
||||||
|
};
|
||||||
finish();
|
finish();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue