fix confirmation popup
This commit is contained in:
parent
78aa0442c1
commit
db4a6069e9
1 changed files with 14 additions and 11 deletions
|
|
@ -308,17 +308,20 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
var cancelText = gettextCatalog.getString('Cancel');
|
var cancelText = gettextCatalog.getString('Cancel');
|
||||||
|
|
||||||
if (!spendingPassEnabled && !touchIdEnabled) {
|
if (!spendingPassEnabled && !touchIdEnabled) {
|
||||||
if (isCordova && bigAmount) {
|
if (isCordova) {
|
||||||
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
|
if (bigAmount) {
|
||||||
if (!ok) {
|
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
|
||||||
$scope.sendStatus = '';
|
if (!ok) {
|
||||||
$timeout(function() {
|
$scope.sendStatus = '';
|
||||||
$scope.$apply();
|
$timeout(function() {
|
||||||
});
|
$scope.$apply();
|
||||||
return;
|
});
|
||||||
}
|
return;
|
||||||
publishAndSign(wallet, txp, onSendStatusChange);
|
}
|
||||||
});
|
publishAndSign(wallet, txp, onSendStatusChange);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else publishAndSign(wallet, txp, onSendStatusChange);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
|
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue