Enable Coinbase to old and new users

This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-25 11:13:18 -03:00
commit e4ac118896
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 9 additions and 14 deletions

View file

@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('buyandsellController', functi
$scope.$on("$ionicView.beforeEnter", function(event, data) {
configService.whenAvailable(function(config) {
$scope.isCoinbaseEnabled = config.coinbase.enabled;
$scope.isCoinbaseEnabled = config.coinbaseV2;
$scope.isGlideraEnabled = config.glidera.enabled;
if (!$scope.isCoinbaseEnabled && !$scope.isGlideraEnabled)