fix config

This commit is contained in:
Matias Alejo Garcia 2016-08-22 19:17:31 -03:00
commit 89f901d546
No known key found for this signature in database
GPG key ID: 02470DB551277AB3

View file

@ -115,14 +115,15 @@ angular.module('copayApp.services').factory('configService', function(storageSer
configCache.pushNotifications = defaultConfig.pushNotifications;
}
configCache.bwsFor = configCache.bwsFor || {};
configCache.colorFor = configCache.colorFor || {};
configCache.aliasFor = configCache.aliasFor || {};
} else {
configCache = lodash.clone(defaultConfig);
};
configCache.bwsFor = configCache.bwsFor || {};
configCache.colorFor = configCache.colorFor || {};
configCache.aliasFor = configCache.aliasFor || {};
// Glidera
// Disabled for testnet
configCache.glidera.testnet = false;