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);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue