Show on sidebar the latest wallet created/joined/imported

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-23 22:54:23 -03:00 committed by Matias Alejo Garcia
commit a03aa0164d
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -9,7 +9,7 @@ factory('notification', ['$timeout',
var settings = {
info: {
duration: 10000,
duration: 6000,
enabled: true
},
funds: {
@ -25,7 +25,7 @@ factory('notification', ['$timeout',
enabled: true
},
error: {
duration: 10000,
duration: 7000,
enabled: true
},
success: {