diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt index 69770a7ad7..b6c9dfa4fb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt @@ -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")