pull/768/head
Celeter 4 years ago committed by GitHub
parent 5741c08180
commit d588bfae1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/help/JsExtensions.kt

@ -66,7 +66,7 @@ interface JsExtensions {
FileUtils.deleteFile(zipPath) FileUtils.deleteFile(zipPath)
val zipFile = FileUtils.createFileIfNotExist(zipPath) val zipFile = FileUtils.createFileIfNotExist(zipPath)
StringUtils.hexStringToByte(content).let { StringUtils.hexStringToByte(content).let {
if (it != null) { if (it.isNotEmpty()) {
zipFile.writeBytes(it) zipFile.writeBytes(it)
} }
} }

Loading…
Cancel
Save