Fix slide to pay

This commit is contained in:
Gustavo Maximiliano Cortez 2017-06-22 13:32:19 -03:00
parent 4484856687
commit ba138059ce
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
2 changed files with 1 additions and 9 deletions

View File

@ -353,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);
};
@ -535,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({

View File

@ -107,7 +107,7 @@
</click-to-accept>
<slide-to-accept
ng-if="isCordova && wallet"
slide-on-confirm="onConfirm()"
slide-on-confirm="approve(tx, wallet, statusChangeHandler)"
slide-send-status="sendStatus"
is-disabled="!wallet">
{{buttonText}}