diff --git a/js/controllers/send.js b/js/controllers/send.js index 3d6a0b00e..46eb1d7cb 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -24,8 +24,6 @@ angular.module('copayApp.controllers').controller('SendController', $scope.isRateAvailable = false; $scope.rateService = rateService; - $scope.alternativeCurrency = []; - rateService.whenAvailable(function() { $scope.isRateAvailable = true; @@ -89,15 +87,6 @@ angular.module('copayApp.controllers').controller('SendController', return w && _.keys(w.addressBook).length > 0; }; - $scope.amountAlternative = function(amount, txIndex, cb) { - var w = $rootScope.wallet; - rateService.whenAvailable(function() { - var valueSat = amount * w.settings.unitToSatoshi; - $scope.alternativeCurrency[txIndex] = rateService.toFiat(valueSat, w.settings.alternativeIsoCode); - return cb ? cb() : null; - }); - }; - if ($rootScope.pendingPayment) { var pp = $rootScope.pendingPayment; $scope.address = pp.address + ''; diff --git a/views/includes/transaction.html b/views/includes/transaction.html index aa52d45d1..0de242379 100644 --- a/views/includes/transaction.html +++ b/views/includes/transaction.html @@ -10,6 +10,11 @@