From c3347931ef265b69fe19afc2306b5ec8b88e921e Mon Sep 17 00:00:00 2001 From: Brendon Duncan Date: Thu, 24 May 2018 15:54:47 -0700 Subject: [PATCH] The wallet list in the Confirm screen nows displays balances according to the Price Display setting. --- src/js/controllers/confirm.js | 2 ++ www/views/confirm.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index 6ec1d9469..fc92a2287 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -205,6 +205,8 @@ angular.module('copayApp.controllers').controller('confirmController', function( } }); + $scope.displayBalanceAsFiat = walletConfig.settings.priceDisplay === 'fiat'; + }); diff --git a/www/views/confirm.html b/www/views/confirm.html index 8bed9035f..443043d49 100644 --- a/www/views/confirm.html +++ b/www/views/confirm.html @@ -131,7 +131,8 @@ wallet-selector-wallets="wallets" wallet-selector-selected-wallet="wallet" wallet-selector-show="walletSelector" - wallet-selector-on-select="onWalletSelect"> + wallet-selector-on-select="onWalletSelect" + wallet-selector-display-balance-as-fiat="displayBalanceAsFiat">