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

@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
value: config.glidera.enabled
};
$scope.coinbaseEnabled = {
value: config.coinbase.enabled
value: config.coinbaseV2
};
$scope.recentTransactionsEnabled = {
value: config.recentTransactions.enabled
@ -72,9 +72,7 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
$scope.coinbaseChange = function() {
var opts = {
coinbase: {
enabled: $scope.coinbaseEnabled.value
}
coinbaseV2: $scope.coinbaseEnabled.value
};
configService.set(opts, function(err) {
if (err) $log.debug(err);