From fbce44dfad01898cede77d44d218b6328a92f58f Mon Sep 17 00:00:00 2001 From: orz12 Date: Thu, 4 Apr 2024 10:57:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20clearLibraryCache=E6=94=B9=E4=B8=BAstati?= =?UTF-8?q?c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/cache_manage.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/cache_manage.dart b/lib/utils/cache_manage.dart index 2c7998a3..e8aac625 100644 --- a/lib/utils/cache_manage.dart +++ b/lib/utils/cache_manage.dart @@ -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);