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:
parent
fc281aa65c
commit
5718dc7993
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user