feat: switch over to Compose alphas

This commit is contained in:
Harsh Shandilya 2023-05-13 19:27:28 +05:30
parent eb053eb5bf
commit 7e91628339
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -213,9 +213,12 @@ internal fun TagRow(
tags: ImmutableList<String>,
modifier: Modifier = Modifier,
) {
FlowRow(verticalAlignment = Alignment.CenterVertically, modifier = modifier) {
FlowRow(
modifier = modifier,
horizontalArrangement = Arrangement.spacedBy(8.dp),
) {
tags.forEach { tag ->
TagText(tag = tag, modifier = Modifier.padding(end = 8.dp, top = 4.dp, bottom = 4.dp))
TagText(tag = tag, modifier = Modifier.padding(top = 4.dp, bottom = 4.dp))
}
}
}