Trying to fix the image bleed into the previous and next page in the Video feed.

This commit is contained in:
Vitor Pamplona
2023-10-15 17:07:02 -04:00
parent c738436ddc
commit 33f8b6d6d8
@@ -361,11 +361,13 @@ private fun UrlImageView(
mainImageModifier
.widthIn(max = maxWidth)
.heightIn(max = maxHeight)
/* Is this necessary? It makes images bleed into other pages
.run {
aspectRatio(content.dim)?.let { ratio ->
this.aspectRatio(ratio, false)
} ?: this
}
*/
}
val contentScale = remember {