Show popup before the spinner on mobile

This commit is contained in:
Gustavo Maximiliano Cortez 2016-01-22 15:38:13 -03:00
commit be223b614a
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -175,12 +175,12 @@ angular.module('copayApp.services').factory('txSignService', function($rootScope
}; };
root.prepareAndSignAndBroadcast = function(txp, opts, cb) { root.prepareAndSignAndBroadcast = function(txp, opts, cb) {
reportSigningStatus(opts);
root.prepare(function(err) { root.prepare(function(err) {
if (err) { if (err) {
stopReport(opts); stopReport(opts);
return cb(err); return cb(err);
}; };
reportSigningStatus(opts);
root.signAndBroadcast(txp, opts, function(err, txp) { root.signAndBroadcast(txp, opts, function(err, txp) {
if (err) { if (err) {
stopReport(opts); stopReport(opts);