pull/1936/head
Xwite 2 years ago
parent ed29ccc7b0
commit fc6745b6fe
  1. 2
      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
}

Loading…
Cancel
Save