config Service

This commit is contained in:
Matias Alejo Garcia 2017-01-31 17:32:11 -03:00
commit 2235cb60bb
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 7 additions and 24 deletions

View file

@ -179,18 +179,11 @@ angular.module('copayApp.services').factory('configService', function(storageSer
if (!configCache.wallet.settings.unitCode) {
configCache.wallet.settings.unitCode = defaultConfig.wallet.settings.unitCode;
}
if (!configCache.glidera) {
configCache.glidera = defaultConfig.glidera;
}
if (!configCache.coinbaseV2) {
configCache.coinbaseV2 = defaultConfig.coinbaseV2;
}
if (!configCache.amazon) {
configCache.amazon = defaultConfig.amazon;
}
if (!configCache.bitpayCard) {
configCache.bitpayCard = defaultConfig.bitpayCard;
if (!configCache.hideNextSteps) {
configCache.hideNextSteps = defaultConfig.hideNextSteps;
}
if (!configCache.recentTransactions) {
configCache.recentTransactions = defaultConfig.recentTransactions;
}