fixes SHARED Wallet status, and refresh until it changes
This commit is contained in:
parent
139adb9974
commit
3b5387fb70
7 changed files with 103 additions and 35 deletions
|
|
@ -92,7 +92,7 @@ angular.module('copayApp.services')
|
|||
$log.debug('Wallet completed');
|
||||
|
||||
root.updateCredentialsFC(function() {
|
||||
$rootScope.$emit('Local/WalletCompleted')
|
||||
$rootScope.$emit('Local/WalletCompleted', client.credentials.walletId);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
@ -151,6 +151,13 @@ angular.module('copayApp.services')
|
|||
|
||||
};
|
||||
|
||||
|
||||
root.getProfile = function(cb) {
|
||||
storageService.getProfile(function(err, profile) {
|
||||
return cb(err, profile);
|
||||
});
|
||||
};
|
||||
|
||||
root.loadAndBindProfile = function(cb) {
|
||||
storageService.getProfile(function(err, profile) {
|
||||
if (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue