turn off spinner on notification

This commit is contained in:
Matias Alejo Garcia 2015-04-28 15:17:13 -03:00
commit 769262f06b

View file

@ -267,10 +267,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
});
modalInstance.result.then(function(txp) {
$scope.$emit('Local/TxProposalAction');
if (txp) {
self.setOngoingProcess();
txStatus.notify(txp);
}
$scope.$emit('Local/TxProposalAction');
});
};
@ -539,15 +540,15 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
return;
}
$scope.$emit('Local/TxProposalAction');
self.setOngoingProcess();
txStatus.notify(btx, function() {
self.setOngoingProcess();
return cb();
});
});
} else {
$scope.$emit('Local/TxProposalAction');
self.setOngoingProcess();
txStatus.notify(signedTx, function() {
self.setOngoingProcess();
return cb();
});
}