Skip to content

Commit

Permalink
Reuse the same RoundedCornerShape for NewsResourceCardExpanded and Ne…
Browse files Browse the repository at this point in the history
…wsResourceHeaderImage

Fixes #15
  • Loading branch information
SimonMarquis committed May 12, 2022
1 parent ef42543 commit e304cd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fun NewsResourceHeaderImage(
},
modifier = Modifier
.fillMaxWidth()
.clip(RoundedCornerShape(topEnd = 24.dp, topStart = 24.dp))
.clip(RoundedCornerShape(topEnd = 16.dp, topStart = 16.dp))
.height(180.dp),
contentScale = ContentScale.Crop,
model = headerImageUrl,
Expand Down

0 comments on commit e304cd3

Please sign in to comment.