android fix 2
This commit is contained in:
parent
952c13e424
commit
6b167d4bfd
1 changed files with 5 additions and 6 deletions
|
|
@ -484,10 +484,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
}
|
||||
} else {
|
||||
self.onGoingProcess = name;
|
||||
$timeout(function() {
|
||||
$rootScope.$apply();
|
||||
});
|
||||
};
|
||||
$timeout(function() {
|
||||
$rootScope.$apply();
|
||||
});
|
||||
};
|
||||
|
||||
this.submitForm = function() {
|
||||
|
|
@ -556,13 +556,12 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
if (signedTx.status == 'accepted') {
|
||||
self.setOngoingProcess('Broadcasting transaction');
|
||||
fc.broadcastTxProposal(signedTx, function(err, btx) {
|
||||
self.setOngoingProcess();
|
||||
if (err) {
|
||||
self.setOngoingProcess();
|
||||
$scope.error = 'Transaction not broadcasted. Please try again.';
|
||||
$scope.$digest();
|
||||
return;
|
||||
return cb(err);
|
||||
}
|
||||
self.setOngoingProcess();
|
||||
$scope.$emit('Local/TxProposalAction');
|
||||
txStatus.notify(btx, function() {
|
||||
return cb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue