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

pull/649/head
Vitor Pamplona 2023-10-15 17:07:02 -04:00
rodzic c738436ddc
commit 33f8b6d6d8
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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 {