Handle small cover better (#5815)

This commit is contained in:
Andreas 2021-08-29 17:13:48 +02:00 committed by GitHub
parent 634da15191
commit ab036312a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)