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() } /**