mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 01:59:17 +01:00
parent
06933c3612
commit
0d9f32b96f
@ -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…
Reference in New Issue
Block a user