Trying to fix the image bleed into the previous and next page in the Video feed.
This commit is contained in:
@@ -361,11 +361,13 @@ private fun UrlImageView(
|
|||||||
mainImageModifier
|
mainImageModifier
|
||||||
.widthIn(max = maxWidth)
|
.widthIn(max = maxWidth)
|
||||||
.heightIn(max = maxHeight)
|
.heightIn(max = maxHeight)
|
||||||
|
/* Is this necessary? It makes images bleed into other pages
|
||||||
.run {
|
.run {
|
||||||
aspectRatio(content.dim)?.let { ratio ->
|
aspectRatio(content.dim)?.let { ratio ->
|
||||||
this.aspectRatio(ratio, false)
|
this.aspectRatio(ratio, false)
|
||||||
} ?: this
|
} ?: this
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
val contentScale = remember {
|
val contentScale = remember {
|
||||||
|
|||||||
Reference in New Issue
Block a user