1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2025-01-27 09:11:23 +01:00

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

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 {