wallet to wallet back-button

This commit is contained in:
Sebastiaan Pasma 2018-07-12 17:40:31 +02:00
commit a3ef304e09
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 13 additions and 0 deletions

View file

@ -13,12 +13,16 @@ angular.module('copayApp.directives')
wallets: '=walletSelectorWallets',
selectedWallet: '=walletSelectorSelectedWallet',
onSelect: '=walletSelectorOnSelect',
onHide: '=walletSelectorOnHide',
displayBalanceAsFiat : '=walletSelectorDisplayBalanceAsFiat'
},
link: function(scope, element, attrs) {
console.log(scope, element, attrs);
scope.hide = function() {
scope.show = false;
if (typeof scope.onHide === "function") {
scope.onHide()
}
};
scope.selectWallet = function(wallet) {
$timeout(function() {