Update: Adds displayBitcoinCoreFlag
This commit is contained in:
parent
8d9631200b
commit
195e9190c5
3 changed files with 22 additions and 14 deletions
|
|
@ -249,18 +249,5 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
return lodash.clone(defaultConfig);
|
||||
};
|
||||
|
||||
root.checkIfConfigIsSet = function(key) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
storageService.getConfig(function(err, localConfig) {
|
||||
if (localConfig) {
|
||||
configCache = JSON.parse(localConfig);
|
||||
resolve(configCache.hasOwnProperty(key));
|
||||
} else {
|
||||
reject(false);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue