mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: clearLibraryCache改为static
This commit is contained in:
@@ -134,7 +134,7 @@ class CacheManage {
|
||||
}
|
||||
|
||||
// 清除 Library/Caches 目录及文件缓存
|
||||
Future clearLibraryCache() async {
|
||||
static Future clearLibraryCache() async {
|
||||
var appDocDir = await getTemporaryDirectory();
|
||||
if (appDocDir.existsSync()) {
|
||||
await appDocDir.delete(recursive: true);
|
||||
|
||||
Reference in New Issue
Block a user