diff --git a/src/js/directives/walletSelector.js b/src/js/directives/walletSelector.js
index 256a2c20d..d747ef3e4 100644
--- a/src/js/directives/walletSelector.js
+++ b/src/js/directives/walletSelector.js
@@ -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() {
diff --git a/www/views/includes/walletSelector.html b/www/views/includes/walletSelector.html
index a53d1c7f1..71ca11a8b 100644
--- a/www/views/includes/walletSelector.html
+++ b/www/views/includes/walletSelector.html
@@ -2,7 +2,8 @@
+ ng-init="wallet.coin == 'btc' ? walletsBtc.push(wallet) : walletsBch.push(wallet)">
+