Prevent double tap (in mobile)

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-01 14:16:47 -03:00
parent 6d79a5da72
commit b210a970d3
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
2 changed files with 82 additions and 76 deletions

View File

@ -27,6 +27,8 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
$scope.error = null;
$scope.loading = 'Signing Transaction';
$timeout(function() {
fingerprintService.check(fc, function(err) {
if (err) {
$scope.error = bwcError.msg(err);
@ -67,6 +69,7 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
});
});
});
}, 10);
};
$scope.reject = function(txp) {

View File

@ -823,6 +823,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
this.error = null;
ongoingProcess.set('calculatingFee', true);
$timeout(function() {
feeService.getCurrentFeeValue(function(err, feePerKb) {
ongoingProcess.set('calculatingFee', false);
if (err || !lodash.isNumber(feePerKb)) {
@ -887,6 +889,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}
});
});
}, 10);
};
/* Start setup */