implemented wallet selection in sidebar
This commit is contained in:
parent
ee7993dccb
commit
62502bc698
2 changed files with 29 additions and 22 deletions
|
|
@ -78,6 +78,10 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
}
|
||||
|
||||
$scope.switchWallet = function(wid) {
|
||||
$scope.walletSelection = false;
|
||||
controllerUtils.setFocusedWallet(wid);
|
||||
};
|
||||
$scope.toggleWalletSelection = function() {
|
||||
$scope.walletSelection = !$scope.walletSelection;
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue