Skip to content

Commit

Permalink
fix image block scale type to crop
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal authored and xavimolloy committed Oct 10, 2023
1 parent 3c03038 commit 748ac45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fun <T> ImageBlock(
Image(
painter = painterFor(image!!),
contentDescription = null,
contentScale = ContentScale.FillBounds,
contentScale = ContentScale.Crop,
modifier = Modifier
.fillMaxWidth()
.clip(shape = RoundedCornerShape(Radius.S))
Expand Down

0 comments on commit 748ac45

Please sign in to comment.