diff --git a/library/src/main/ets/utils/FileCache.ets b/library/src/main/ets/utils/FileCache.ets index 4a5fbff..a9beaa4 100644 --- a/library/src/main/ets/utils/FileCache.ets +++ b/library/src/main/ets/utils/FileCache.ets @@ -60,7 +60,7 @@ export class FileCache { if (this.isInited) { return } - if (this.context && path.startsWith(this.context.cacheDir) === false) { + if (this.context && path.startsWith(this.context.cacheDir) === true) { this.path = path } else { FileCache.CACHE_FOLDER = path