From b60eebe35aeb39723cbdd3cc7ffca4828f6ba549 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 5 Aug 2016 16:37:57 -0300 Subject: [PATCH] fix format in specific amount view --- src/js/controllers/modals/inputAmount.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/controllers/modals/inputAmount.js b/src/js/controllers/modals/inputAmount.js index 8c2cbf288..5553bce60 100644 --- a/src/js/controllers/modals/inputAmount.js +++ b/src/js/controllers/modals/inputAmount.js @@ -163,8 +163,8 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct $scope.specificAmountBtc = (amountSat * satToBtc).toFixed(8); } - $scope.specificAmount = amount; - $scope.specificAlternativeAmount = alternativeAmount; + $scope.specificAmount = profileService.formatAmount(amount * unitToSatoshi, true); + $scope.specificAlternativeAmount = $filter('formatFiatAmount')(alternativeAmount); $timeout(function() { $ionicScrollDelegate.resize(); }, 100);