Added $scope.isRequestingSpecifcAmount.

This commit is contained in:
Brendon Duncan 2018-07-19 17:06:53 +12:00
commit 0a96ae0dbe
2 changed files with 7 additions and 4 deletions

View file

@ -26,6 +26,8 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.isAndroid = platformInfo.isAndroid;
$scope.isIos = platformInfo.isIOS;
$scope.isRequestingSpecificAmount = false;
$scope.$on('$ionicView.leave', function() {
angular.element($window).off('keydown');
});
@ -51,6 +53,8 @@ angular.module('copayApp.controllers').controller('amountController', function($
}
}
$scope.isRequestingSpecificAmount = !!data.stateParams.id;
var config = configService.getSync().wallet.settings;
function setAvailableUnits() {