Fix slide to pay
This commit is contained in:
parent
4484856687
commit
ba138059ce
2 changed files with 1 additions and 9 deletions
|
|
@ -353,10 +353,6 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
popupService.showAlert(null, msg, function() {});
|
popupService.showAlert(null, msg, function() {});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.$on('accepted', function(event) {
|
|
||||||
$scope.approve();
|
|
||||||
});
|
|
||||||
|
|
||||||
$scope.onWalletSelect = function(wallet) {
|
$scope.onWalletSelect = function(wallet) {
|
||||||
setWallet(wallet, tx);
|
setWallet(wallet, tx);
|
||||||
};
|
};
|
||||||
|
|
@ -535,10 +531,6 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
|
|
||||||
$scope.statusChangeHandler = statusChangeHandler;
|
$scope.statusChangeHandler = statusChangeHandler;
|
||||||
|
|
||||||
$scope.onConfirm = function() {
|
|
||||||
$scope.approve(statusChangeHandler);
|
|
||||||
};
|
|
||||||
|
|
||||||
$scope.onSuccessConfirm = function() {
|
$scope.onSuccessConfirm = function() {
|
||||||
$scope.sendStatus = '';
|
$scope.sendStatus = '';
|
||||||
$ionicHistory.nextViewOptions({
|
$ionicHistory.nextViewOptions({
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
</click-to-accept>
|
</click-to-accept>
|
||||||
<slide-to-accept
|
<slide-to-accept
|
||||||
ng-if="isCordova && wallet"
|
ng-if="isCordova && wallet"
|
||||||
slide-on-confirm="onConfirm()"
|
slide-on-confirm="approve(tx, wallet, statusChangeHandler)"
|
||||||
slide-send-status="sendStatus"
|
slide-send-status="sendStatus"
|
||||||
is-disabled="!wallet">
|
is-disabled="!wallet">
|
||||||
{{buttonText}}
|
{{buttonText}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue