diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index 3bfb55581..c9ce5943a 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -13,7 +13,6 @@ angular.module('copayApp.controllers').controller('confirmController', function( var unitToSatoshi = walletConfig.settings.unitToSatoshi; var unitDecimals = walletConfig.settings.unitDecimals; var satToUnit = 1 / unitToSatoshi; - var touchIdEnabled = config.touchIdFor && config.touchIdFor[wallet.id]; var configFeeLevel = walletConfig.settings.feeLevel ? walletConfig.settings.feeLevel : 'normal'; @@ -354,10 +353,6 @@ angular.module('copayApp.controllers').controller('confirmController', function( popupService.showAlert(null, msg, function() {}); }; - $scope.$on('accepted', function(event) { - $scope.approve(); - }); - $scope.onWalletSelect = function(wallet) { setWallet(wallet, tx); }; @@ -536,10 +531,6 @@ angular.module('copayApp.controllers').controller('confirmController', function( $scope.statusChangeHandler = statusChangeHandler; - $scope.onConfirm = function() { - $scope.approve(statusChangeHandler); - }; - $scope.onSuccessConfirm = function() { $scope.sendStatus = ''; $ionicHistory.nextViewOptions({ diff --git a/www/views/confirm.html b/www/views/confirm.html index c7f801539..cff04ebf3 100644 --- a/www/views/confirm.html +++ b/www/views/confirm.html @@ -107,7 +107,7 @@ {{buttonText}}