replaced last opened with last focused wallet
This commit is contained in:
parent
404016cfb5
commit
37526b554e
7 changed files with 46 additions and 38 deletions
|
|
@ -209,10 +209,12 @@ angular.module('copayApp.services')
|
|||
preconditions.checkState(w && _.isObject(w));
|
||||
|
||||
$rootScope.wallet = w;
|
||||
root.redirIfLogged();
|
||||
root.updateBalance(w, function() {
|
||||
$rootScope.$digest();
|
||||
})
|
||||
$rootScope.iden.profile.setLastFocusedTs(w.id, function() {
|
||||
root.redirIfLogged();
|
||||
root.updateBalance(w, function() {
|
||||
$rootScope.$digest();
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
root.bindProfile = function($scope, iden, w) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue