From 7befacc32423865b8d7170d14517b5aca06694d7 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Wed, 13 Apr 2022 16:35:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:web=E7=AB=AFepub=E5=9B=BE=E7=89=87=E6=9C=AA?= =?UTF-8?q?=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/api/controller/BookController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/api/controller/BookController.kt b/app/src/main/java/io/legado/app/api/controller/BookController.kt index c94f7dcb3..30f887ed3 100644 --- a/app/src/main/java/io/legado/app/api/controller/BookController.kt +++ b/app/src/main/java/io/legado/app/api/controller/BookController.kt @@ -89,7 +89,7 @@ object BookController { this.bookUrl = bookUrl return ImageProvider.getImage(book, src, bookSource, width, width)?.let { returnData.setData(it) - } + } ?: returnData.setErrorMsg("图片加载失败或不存在") } /**