Prevent double tap (in mobile)
This commit is contained in:
parent
6d79a5da72
commit
b210a970d3
2 changed files with 82 additions and 76 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue