turn off spinner on notification
This commit is contained in:
parent
fa0a26452f
commit
769262f06b
1 changed files with 4 additions and 3 deletions
|
|
@ -267,10 +267,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
});
|
});
|
||||||
|
|
||||||
modalInstance.result.then(function(txp) {
|
modalInstance.result.then(function(txp) {
|
||||||
|
$scope.$emit('Local/TxProposalAction');
|
||||||
if (txp) {
|
if (txp) {
|
||||||
|
self.setOngoingProcess();
|
||||||
txStatus.notify(txp);
|
txStatus.notify(txp);
|
||||||
}
|
}
|
||||||
$scope.$emit('Local/TxProposalAction');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
@ -539,15 +540,15 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$scope.$emit('Local/TxProposalAction');
|
$scope.$emit('Local/TxProposalAction');
|
||||||
|
self.setOngoingProcess();
|
||||||
txStatus.notify(btx, function() {
|
txStatus.notify(btx, function() {
|
||||||
self.setOngoingProcess();
|
|
||||||
return cb();
|
return cb();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$scope.$emit('Local/TxProposalAction');
|
$scope.$emit('Local/TxProposalAction');
|
||||||
|
self.setOngoingProcess();
|
||||||
txStatus.notify(signedTx, function() {
|
txStatus.notify(signedTx, function() {
|
||||||
self.setOngoingProcess();
|
|
||||||
return cb();
|
return cb();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue