diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index deccf818f..802b450c6 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -267,7 +267,7 @@ interface JsExtensions { */ fun deleteFile(path: String) { val file = getFile(path) - FileUtils.delete(file) + FileUtils.delete(file, true) } /**