mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod:不自动清除缓存(可能解决iOS白屏问题)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: '检查更新',
|
||||
|
||||
Reference in New Issue
Block a user