tap to retry

This commit is contained in:
Matias Alejo Garcia 2015-04-14 16:06:04 -03:00
commit e01fc86835
3 changed files with 11 additions and 5 deletions

View file

@ -184,9 +184,11 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.updateColor();
$timeout(function() {
self.setOngoingProcess('openingWallet', true);
self.updateError = false;
fc.openWallet(function(err, walletStatus) {
self.setOngoingProcess('openingWallet', false);
if (err) {
self.updateError = true;
self.handleError(err);
return;
}