Reuse the same RoundedCornerShape for NewsResourceCardExpanded and NewsResourceHeaderImage

Fixes #15
pull/16/head
Simon Marquis 2 years ago
parent ef42543b32
commit e304cd3ee7

@ -141,7 +141,7 @@ fun NewsResourceHeaderImage(
}, },
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.clip(RoundedCornerShape(topEnd = 24.dp, topStart = 24.dp)) .clip(RoundedCornerShape(topEnd = 16.dp, topStart = 16.dp))
.height(180.dp), .height(180.dp),
contentScale = ContentScale.Crop, contentScale = ContentScale.Crop,
model = headerImageUrl, model = headerImageUrl,

Loading…
Cancel
Save