mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 20:46:32 +02:00
Allows the height of the preview to adjust to the width of the preview image
This commit is contained in:
@@ -104,7 +104,7 @@ fun UrlPreviewCard(
|
|||||||
AsyncImage(
|
AsyncImage(
|
||||||
model = previewInfo.imageUrlFullPath,
|
model = previewInfo.imageUrlFullPath,
|
||||||
contentDescription = previewInfo.title,
|
contentDescription = previewInfo.title,
|
||||||
contentScale = ContentScale.Crop,
|
contentScale = ContentScale.FillWidth,
|
||||||
modifier = previewCardImageModifier,
|
modifier = previewCardImageModifier,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user