From ab036312a488650279bb5dba18550490e7524b15 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 29 Aug 2021 17:13:48 +0200 Subject: [PATCH] Handle small cover better (#5815) --- .../kanade/tachiyomi/ui/manga/info/MangaFullCoverDialog.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaFullCoverDialog.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaFullCoverDialog.kt index bc0ec8811a..aaa4ca965b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaFullCoverDialog.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaFullCoverDialog.kt @@ -63,8 +63,11 @@ class MangaFullCoverDialog : DialogController { menu?.findItem(R.id.action_edit_cover)?.isVisible = manga?.favorite ?: false } - binding?.fullCover?.setOnClickListener { - dialog?.dismiss() + binding?.fullCover?.apply { + setOnClickListener { + dialog?.dismiss() + } + setMinimumDpi(45) } setImage(manga)