fix confirmation popup

This commit is contained in:
Gabriel Bazán 2016-10-12 10:53:27 -03:00
commit db4a6069e9

View file

@ -308,7 +308,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
var cancelText = gettextCatalog.getString('Cancel');
if (!spendingPassEnabled && !touchIdEnabled) {
if (isCordova && bigAmount) {
if (isCordova) {
if (bigAmount) {
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
if (!ok) {
$scope.sendStatus = '';
@ -320,6 +321,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
publishAndSign(wallet, txp, onSendStatusChange);
});
}
else publishAndSign(wallet, txp, onSendStatusChange);
}
else {
popupService.showConfirm(null, message, okText, cancelText, function(ok) {
if (!ok) {