Merge pull request #311 from AndyBernie/patch-2

Update ImageProvider.kt
pull/312/head
kunfei 4 years ago committed by GitHub
commit e9b8e7f313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt

@ -49,7 +49,7 @@ object ImageProvider {
out.close()
}
} else if (!onUi) {
HttpHelper.getBytes(src, src)?.let {
HttpHelper.getBytes(src, baseUrl)?.let {
FileUtils.createFileIfNotExist(vFile.absolutePath).writeBytes(it)
}
}

Loading…
Cancel
Save