Fix spinner while creating wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-29 11:23:20 -03:00
commit 0dae7b9b82
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 4 additions and 2 deletions

View file

@ -176,7 +176,10 @@ angular.module('copayApp.controllers').controller('createController',
}); });
return; return;
} }
go.walletHome(); $timeout(function() {
go.walletHome();
$rootScope.$apply();
});
}); });
}, 100); }, 100);

View file

@ -115,7 +115,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
var fc = profileService.focusedClient; var fc = profileService.focusedClient;
if (!fc) return; if (!fc) return;
ongoingProcess.clear();
self.cleanInstance(); self.cleanInstance();
self.loadingWallet = true; self.loadingWallet = true;
self.setSpendUnconfirmed(); self.setSpendUnconfirmed();