mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
parent
06933c3612
commit
0d9f32b96f
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ class MangaDetailsPresenter(
|
|||
}
|
||||
|
||||
private fun saveCover(directory: File): File {
|
||||
val cover = coverCache.getCoverFile(manga)
|
||||
val cover = coverCache.getCustomCoverFile(manga).takeIf { it.exists() } ?: coverCache.getCoverFile(manga)
|
||||
val type = ImageUtil.findImageType(cover.inputStream())
|
||||
?: throw Exception("Not an image")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue