Reuse the same RoundedCornerShape for NewsResourceCardExpanded and NewsResourceHeaderImage

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

@ -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,

Loading…
Cancel
Save