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,9 +63,12 @@ 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 {
setOnClickListener {
dialog?.dismiss() dialog?.dismiss()
} }
setMinimumDpi(45)
}
setImage(manga) setImage(manga)
binding?.appbar?.applyInsetter { binding?.appbar?.applyInsetter {