mirror of https://github.com/BTCPrivate/copay.git
Fix mobile response
This commit is contained in:
parent
b0d24c6814
commit
a63a8e4aaa
|
@ -15,6 +15,9 @@ angular.module('copayApp.controllers').controller('amazonController',
|
|||
return;
|
||||
}
|
||||
self.giftCards = gcds;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -69,6 +72,9 @@ angular.module('copayApp.controllers').controller('amazonController',
|
|||
return;
|
||||
}
|
||||
$scope.card = data;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
|
|||
};
|
||||
|
||||
$scope.openWalletsModal = function(wallets) {
|
||||
if (self.loading) return;
|
||||
self.error = null;
|
||||
self.errorInfo = null;
|
||||
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
||||
|
@ -94,6 +95,7 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
|
|||
};
|
||||
|
||||
this.setAmount = function(plus) {
|
||||
if (self.loading) return;
|
||||
if (plus && $scope.fiat < maximumAmount ) {
|
||||
stepAmount = stepAmount + 1;
|
||||
$scope.fiat = stepAmount * multiplierAmount;
|
||||
|
@ -184,6 +186,9 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
|
|||
return;
|
||||
}
|
||||
self.giftCard = giftCard;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue