mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix: typo
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user