mod: enable autoClearCache by def

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-12 15:55:09 +08:00
parent c13063b230
commit 71e7219084
2 changed files with 2 additions and 2 deletions

View File

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