diff --git a/js/controllers/sidebar.js b/js/controllers/sidebar.js index a634fc641..965f5c10b 100644 --- a/js/controllers/sidebar.js +++ b/js/controllers/sidebar.js @@ -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; + }; }); diff --git a/views/includes/sidebar.html b/views/includes/sidebar.html index a715102c3..1cc55db1c 100644 --- a/views/includes/sidebar.html +++ b/views/includes/sidebar.html @@ -1,25 +1,22 @@
-
-