Displaying fiat amounts in wallet selector in Receive tab.

This commit is contained in:
Brendon Duncan 2018-05-24 14:36:51 -07:00
commit 05a8952f87
3 changed files with 13 additions and 5 deletions

View file

@ -2,6 +2,9 @@
angular.module('copayApp.directives')
.directive('walletSelector', function($rootScope, $timeout, configService) {
console.log("walletSelector");
return {
restrict: 'E',
templateUrl: 'views/includes/walletSelector.html',
@ -11,7 +14,8 @@ angular.module('copayApp.directives')
show: '=walletSelectorShow',
wallets: '=walletSelectorWallets',
selectedWallet: '=walletSelectorSelectedWallet',
onSelect: '=walletSelectorOnSelect'
onSelect: '=walletSelectorOnSelect',
displayBalanceAsFiat : '=walletSelectorDisplayBalanceAsFiat'
},
link: function(scope, element, attrs) {
scope.hide = function() {