Show on sidebar the latest wallet created/joined/imported
This commit is contained in:
parent
cf0b1b4df1
commit
a03aa0164d
2 changed files with 5 additions and 3 deletions
|
|
@ -79,10 +79,12 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
$rootScope.wallet.keepAlive();
|
||||
}
|
||||
});
|
||||
$rootScope.$watch('wallet.id', function() {
|
||||
$scope.walletSelection = false;
|
||||
});
|
||||
}
|
||||
|
||||
$scope.switchWallet = function(wid) {
|
||||
$scope.walletSelection = false;
|
||||
controllerUtils.setFocusedWallet(wid);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue