feat: 简介默认展开

This commit is contained in:
guozhigq
2024-10-19 22:59:55 +08:00
parent bb2d5e5494
commit 83c9ce55c8
4 changed files with 15 additions and 1 deletions

View File

@ -49,6 +49,8 @@ class GlobalDataCache {
late List historyCacheList;
//
late bool enableSearchSuggest = true;
// 简介默认展开
late bool enableAutoExpand = false;
// 私有构造函数
GlobalDataCache._();
@ -112,5 +114,7 @@ class GlobalDataCache {
historyCacheList = localCache.get('cacheList', defaultValue: []);
enableSearchSuggest =
setting.get(SettingBoxKey.enableSearchSuggest, defaultValue: true);
enableAutoExpand =
setting.get(SettingBoxKey.enableAutoExpand, defaultValue: false);
}
}