Skip to content

Commit

Permalink
Fix images in trending list being stretched
Browse files Browse the repository at this point in the history
  • Loading branch information
wingio committed Sep 12, 2024
1 parent eee5c00 commit a6c0f1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fun TrendingRepoItem(
Image(
painter = rememberImagePainter(trendingRepository.openGraphImageUrl),
contentDescription = null,
contentScale = ContentScale.FillBounds,
contentScale = ContentScale.Crop,
modifier = Modifier
.aspectRatio(2f)
.fillMaxWidth()
Expand Down

0 comments on commit a6c0f1a

Please sign in to comment.