Adds btc value before confirm
This commit is contained in:
parent
e9877234f6
commit
55bd2355b9
4 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ angular.module('copayApp.controllers').controller('buyCoinbaseController', funct
|
|||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
coinbaseService.setCredentials();
|
||||
|
||||
$scope.isFiat = data.stateParams.currency ? true : false;
|
||||
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
|
||||
data.stateParams.amount,
|
||||
data.stateParams.currency);
|
||||
|
|
|
|||
|
|
@ -119,6 +119,7 @@ angular.module('copayApp.controllers').controller('sellCoinbaseController', func
|
|||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
coinbaseService.setCredentials();
|
||||
|
||||
$scope.isFiat = data.stateParams.currency ? true : false;
|
||||
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
|
||||
data.stateParams.amount,
|
||||
data.stateParams.currency);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue