From 4ee3c5889d258c91b99aa8b96502bcfe0751dc16 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 7 Mar 2017 16:50:44 -0300 Subject: [PATCH] Show fiat in the alternative currency --- src/js/controllers/tx-details.js | 3 +++ www/views/tx-details.html | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/js/controllers/tx-details.js b/src/js/controllers/tx-details.js index c2f45b882..c37e92f44 100644 --- a/src/js/controllers/tx-details.js +++ b/src/js/controllers/tx-details.js @@ -84,6 +84,9 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio } $scope.btx = txFormatService.processTx(tx); + txFormatService.formatAlternativeStr(tx.fees, function(v) { + $scope.feeFiatStr = v; + }); if ($scope.btx.action != 'invalid') { if ($scope.btx.action == 'sent') $scope.title = gettextCatalog.getString('Sent Funds'); diff --git a/www/views/tx-details.html b/www/views/tx-details.html index 8b2cded57..d77d7c4dd 100644 --- a/www/views/tx-details.html +++ b/www/views/tx-details.html @@ -77,10 +77,11 @@ -
+
Fee - {{btx.feeStr}} + {{btx.feeStr}} + {{feeFiatStr}}