diff --git a/lib/main.dart b/lib/main.dart index fdd8ee8c..ff88e443 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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 diff --git a/lib/pages/setting/extra_setting.dart b/lib/pages/setting/extra_setting.dart index b3d04893..01ab67a2 100644 --- a/lib/pages/setting/extra_setting.dart +++ b/lib/pages/setting/extra_setting.dart @@ -304,7 +304,7 @@ class _ExtraSettingState extends State { subTitle: '每次启动时清除缓存', leading: Icon(Icons.auto_delete_outlined), setKey: SettingBoxKey.autoClearCache, - defaultVal: true, + defaultVal: false, ), const SetSwitchItem( title: '检查更新',