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.wallet.keepAlive();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$rootScope.$watch('wallet.id', function() {
|
||||||
|
$scope.walletSelection = false;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.switchWallet = function(wid) {
|
$scope.switchWallet = function(wid) {
|
||||||
$scope.walletSelection = false;
|
|
||||||
controllerUtils.setFocusedWallet(wid);
|
controllerUtils.setFocusedWallet(wid);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ factory('notification', ['$timeout',
|
||||||
|
|
||||||
var settings = {
|
var settings = {
|
||||||
info: {
|
info: {
|
||||||
duration: 10000,
|
duration: 6000,
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
funds: {
|
funds: {
|
||||||
|
|
@ -25,7 +25,7 @@ factory('notification', ['$timeout',
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
error: {
|
error: {
|
||||||
duration: 10000,
|
duration: 7000,
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
success: {
|
success: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue