fix refresh after send

This commit is contained in:
Matias Alejo Garcia 2015-07-13 13:09:52 -03:00
commit 0bdb92b583
3 changed files with 3 additions and 2 deletions

View file

@ -253,7 +253,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$log.debug('Retrying update... Try:' + tries) $log.debug('Retrying update... Try:' + tries)
return self.updateAll({ return self.updateAll({
walletStatus: null, walletStatus: null,
untilItChanges: true untilItChanges: true,
triggerTxUpdate: opts.triggerTxUpdate,
}, initStatusHash, ++tries); }, initStatusHash, ++tries);
}, 1400 * tries); }, 1400 * tries);
} }

View file

@ -32,7 +32,6 @@ angular.module('copayApp.controllers').controller('preferencesFeeController',
configService.set(opts, function(err) { configService.set(opts, function(err) {
if (err) console.log(err); if (err) console.log(err);
$scope.$emit('Local/UnitSettingUpdated');
}); });
}; };

View file

@ -745,6 +745,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
profileService.lockFC(); profileService.lockFC();
self.setOngoingProcess(); self.setOngoingProcess();
if (err) { if (err) {
$log.debug('Sign error:', err);
err.message = gettext('The payment was created but could not be signed. Please try again from home screen.') + (err.message ? ' ' + err.message : ''); err.message = gettext('The payment was created but could not be signed. Please try again from home screen.') + (err.message ? ' ' + err.message : '');
return cb(err); return cb(err);
} }