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 menu?.findItem(R.id.action_edit_cover)?.isVisible = manga?.favorite ?: false
} }
binding?.fullCover?.setOnClickListener { binding?.fullCover?.apply {
dialog?.dismiss() setOnClickListener {
dialog?.dismiss()
}
setMinimumDpi(45)
} }
setImage(manga) setImage(manga)