Fix - Add config homeSectionIsHidden by default false
This commit is contained in:
parent
8ebb3af445
commit
b33a818c65
1 changed files with 7 additions and 1 deletions
|
|
@ -122,7 +122,9 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
||||||
bitcoinWalletColor: '#fab915', // Observatory
|
bitcoinWalletColor: '#fab915', // Observatory
|
||||||
bitcoinCashWalletColor: '#26B03C', // Dollar Green
|
bitcoinCashWalletColor: '#26B03C', // Dollar Green
|
||||||
|
|
||||||
homeSectionIsHidden: {}
|
homeSectionIsHidden: {
|
||||||
|
services: false
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var configCache = null;
|
var configCache = null;
|
||||||
|
|
@ -202,6 +204,10 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!configCache.homeSectionIsHidden) {
|
||||||
|
configCache.homeSectionIsHidden = defaultConfig.homeSectionIsHidden;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
configCache = lodash.clone(defaultConfig);
|
configCache = lodash.clone(defaultConfig);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue