fix customized unit amount - show address

This commit is contained in:
Javier 2016-08-09 15:28:03 -03:00
commit cdcc060674
3 changed files with 18 additions and 11 deletions

View file

@ -347,12 +347,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}, 1);
};
this.setAmount = function(amount, alternativeAmount, useAlternativeAmount) {
var amountResult = useAlternativeAmount ? alternativeAmount : amount;
this.setAmount = function(amount, useAlternativeAmount) {
$scope.showAlternative = useAlternativeAmount;
self.fromInputAmount = true;
self.setForm(null, amountResult, null);
self.setForm(null, amount, null);
};
this.submitForm = function() {