Allows the height of the preview to adjust to the width of the preview image

This commit is contained in:
Vitor Pamplona
2025-08-20 17:22:04 -04:00
parent da015e3298
commit 679f9b66ed

View File

@@ -104,7 +104,7 @@ fun UrlPreviewCard(
AsyncImage(
model = previewInfo.imageUrlFullPath,
contentDescription = previewInfo.title,
contentScale = ContentScale.Crop,
contentScale = ContentScale.FillWidth,
modifier = previewCardImageModifier,
)