mod:不自动清除缓存(可能解决iOS白屏问题)

This commit is contained in:
orz12
2024-05-20 16:24:34 +08:00
parent 074bf03946
commit c26a011e9f
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ void main() async {
WidgetsFlutterBinding.ensureInitialized();
MediaKit.ensureInitialized();
await GStrorage.init();
if (GStrorage.setting.get(SettingBoxKey.autoClearCache, defaultValue: true)) {
if (GStrorage.setting.get(SettingBoxKey.autoClearCache, defaultValue: false)) {
await CacheManage.clearLibraryCache();
}
if (GStrorage.setting

View File

@@ -304,7 +304,7 @@ class _ExtraSettingState extends State<ExtraSetting> {
subTitle: '每次启动时清除缓存',
leading: Icon(Icons.auto_delete_outlined),
setKey: SettingBoxKey.autoClearCache,
defaultVal: true,
defaultVal: false,
),
const SetSwitchItem(
title: '检查更新',