fix format in specific amount view

This commit is contained in:
Javier 2016-08-05 16:37:57 -03:00
commit b60eebe35a

View file

@ -163,8 +163,8 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
$scope.specificAmountBtc = (amountSat * satToBtc).toFixed(8); $scope.specificAmountBtc = (amountSat * satToBtc).toFixed(8);
} }
$scope.specificAmount = amount; $scope.specificAmount = profileService.formatAmount(amount * unitToSatoshi, true);
$scope.specificAlternativeAmount = alternativeAmount; $scope.specificAlternativeAmount = $filter('formatFiatAmount')(alternativeAmount);
$timeout(function() { $timeout(function() {
$ionicScrollDelegate.resize(); $ionicScrollDelegate.resize();
}, 100); }, 100);