From c26a011e9f244053271b949df4f012945487d510 Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 20 May 2024 16:24:34 +0800 Subject: [PATCH] =?UTF-8?q?mod:=E4=B8=8D=E8=87=AA=E5=8A=A8=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E7=BC=93=E5=AD=98=EF=BC=88=E5=8F=AF=E8=83=BD=E8=A7=A3?= =?UTF-8?q?=E5=86=B3iOS=E7=99=BD=E5=B1=8F=E9=97=AE=E9=A2=98=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 2 +- lib/pages/setting/extra_setting.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: '检查更新',