diff --git a/src/js/controllers/buyCoinbase.js b/src/js/controllers/buyCoinbase.js index 59bacde15..587ef778e 100644 --- a/src/js/controllers/buyCoinbase.js +++ b/src/js/controllers/buyCoinbase.js @@ -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); diff --git a/src/js/controllers/sellCoinbase.js b/src/js/controllers/sellCoinbase.js index af0e62992..d7b385e72 100644 --- a/src/js/controllers/sellCoinbase.js +++ b/src/js/controllers/sellCoinbase.js @@ -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); diff --git a/www/views/buyCoinbase.html b/www/views/buyCoinbase.html index 01f9a5c87..3521c825a 100644 --- a/www/views/buyCoinbase.html +++ b/www/views/buyCoinbase.html @@ -17,6 +17,7 @@
{{amountUnitStr}}
+ {{buyRequestInfo.amount.amount}} {{buyRequestInfo.amount.currency}} @ ${{buyPrice.amount}} per BTC
diff --git a/www/views/sellCoinbase.html b/www/views/sellCoinbase.html index 2cef05523..cc4befec3 100644 --- a/www/views/sellCoinbase.html +++ b/www/views/sellCoinbase.html @@ -17,6 +17,7 @@
{{amountUnitStr}}
+ {{sellRequestInfo.amount.amount}} {{sellRequestInfo.amount.currency}} @ ${{sellPrice.amount}} per BTC