From e1107bf1442cc8242ef1cf5070a062889d613383 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 18 Aug 2020 08:36:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/page/provider/ImageProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt index 9bc9bda12..c5407cb1b 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt +++ b/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, baseUrl)?.let { + HttpHelper.getBytes(src, src)?.let { FileUtils.createFileIfNotExist(vFile.absolutePath).writeBytes(it) } }