From fc6745b6fe44251cc8cd1718ba1742166b1eb6e9 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Wed, 1 Jun 2022 14:22:29 +0800 Subject: [PATCH] fix: typo --- app/src/main/java/io/legado/app/model/localBook/EpubFile.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/localBook/EpubFile.kt b/app/src/main/java/io/legado/app/model/localBook/EpubFile.kt index 529a9d2a0..5d4d36e96 100644 --- a/app/src/main/java/io/legado/app/model/localBook/EpubFile.kt +++ b/app/src/main/java/io/legado/app/model/localBook/EpubFile.kt @@ -196,7 +196,7 @@ class EpubFile(var book: Book) { } private fun getImage(href: String): InputStream? { - if (href == "cover.jpg") return epubBook?.coverImage?.inputStream + if (href == "cover.jpeg") return epubBook?.coverImage?.inputStream val abHref = href.replace("../", "") return epubBook?.resources?.getByHref(abHref)?.inputStream }