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.error = null;
|
||||||
$scope.loading = 'Signing Transaction';
|
$scope.loading = 'Signing Transaction';
|
||||||
|
|
||||||
|
$timeout(function() {
|
||||||
|
|
||||||
fingerprintService.check(fc, function(err) {
|
fingerprintService.check(fc, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
$scope.error = bwcError.msg(err);
|
$scope.error = bwcError.msg(err);
|
||||||
|
|
@ -67,6 +69,7 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.reject = function(txp) {
|
$scope.reject = function(txp) {
|
||||||
|
|
|
||||||
|
|
@ -823,6 +823,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
this.error = null;
|
this.error = null;
|
||||||
ongoingProcess.set('calculatingFee', true);
|
ongoingProcess.set('calculatingFee', true);
|
||||||
|
|
||||||
|
$timeout(function() {
|
||||||
|
|
||||||
feeService.getCurrentFeeValue(function(err, feePerKb) {
|
feeService.getCurrentFeeValue(function(err, feePerKb) {
|
||||||
ongoingProcess.set('calculatingFee', false);
|
ongoingProcess.set('calculatingFee', false);
|
||||||
if (err || !lodash.isNumber(feePerKb)) {
|
if (err || !lodash.isNumber(feePerKb)) {
|
||||||
|
|
@ -887,6 +889,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Start setup */
|
/* Start setup */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue