Ref amount-confirm sendMax

This commit is contained in:
Gustavo Maximiliano Cortez 2017-09-01 15:26:12 -03:00
commit 9f9bb1b728
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 9 additions and 7 deletions

View file

@ -309,7 +309,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
if (a) {
$scope.alternativeAmount = txFormatService.formatAmount(a * unitToSatoshi, true);
} else {
$scope.alternativeAmount = 'N/A'; //TODO
$scope.alternativeAmount = 'N/A'; //TODO
$scope.allowSend = false;
}
} else {
@ -369,7 +369,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
id: _id,
amount: $scope.useSendMax ? null : _amount,
currency: unit.id.toUpperCase(),
coin: coin,
coin: $scope.useSendMax ? null : coin,
useSendMax: $scope.useSendMax
});
} else {
@ -388,7 +388,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
toName: $scope.toName,
toEmail: $scope.toEmail,
toColor: $scope.toColor,
coin: coin,
coin: $scope.useSendMax ? null : coin,
useSendMax: $scope.useSendMax
});
}