Fix - Add config homeSectionIsHidden by default false

This commit is contained in:
Jean-Baptiste Dominguez 2018-05-09 10:39:11 +09:00
commit b33a818c65

View file

@ -122,7 +122,9 @@ angular.module('copayApp.services').factory('configService', function(storageSer
bitcoinWalletColor: '#fab915', // Observatory
bitcoinCashWalletColor: '#26B03C', // Dollar Green
homeSectionIsHidden: {}
homeSectionIsHidden: {
services: false
}
};
var configCache = null;
@ -201,6 +203,10 @@ angular.module('copayApp.services').factory('configService', function(storageSer
}
}
}
if (!configCache.homeSectionIsHidden) {
configCache.homeSectionIsHidden = defaultConfig.homeSectionIsHidden;
}
} else {
configCache = lodash.clone(defaultConfig);