Apply thumbnail height to blurhash, not frame

This commit is contained in:
kjwon15 2019-07-25 05:20:16 +09:00
parent fc281aa65c
commit 5718dc7993
1 changed files with 2 additions and 2 deletions

View File

@ -3234,7 +3234,7 @@ internal class ItemViewHolder(
flMedia = if(verticalArrangeThumbnails) { flMedia = if(verticalArrangeThumbnails) {
frameLayout { frameLayout {
lparams(matchParent, thumbnailHeight) { lparams(matchParent, wrapContent) {
topMargin = dip(3) topMargin = dip(3)
} }
llMedia = verticalLayout { llMedia = verticalLayout {
@ -3324,7 +3324,7 @@ internal class ItemViewHolder(
minHeightCompat = dip(48) minHeightCompat = dip(48)
}.lparams(matchParent,wrapContent) }.lparams(matchParent,thumbnailHeight)
} }
} else { } else {