From d354a52975006926d9f4d012a85ac95931cf7eea Mon Sep 17 00:00:00 2001 From: madixin Date: Sat, 18 May 2024 09:45:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85await?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: madixin --- library/src/main/ets/ImageKnife.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/ets/ImageKnife.ets b/library/src/main/ets/ImageKnife.ets index 916f11a..6e01ae1 100644 --- a/library/src/main/ets/ImageKnife.ets +++ b/library/src/main/ets/ImageKnife.ets @@ -54,7 +54,7 @@ export class ImageKnife { */ async initFileCache(context: Context, size: number, memory: number) { this.fileCache = new FileCache(context, size, memory) - this.fileCache.initFileCache() + await this.fileCache.initFileCache() } /**