implemented wallet selection in sidebar

This commit is contained in:
Ivan Socolsky 2014-10-16 12:48:47 -03:00 committed by Matias Alejo Garcia
commit 62502bc698
2 changed files with 29 additions and 22 deletions

View file

@ -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;
};
});