mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 12:17:02 +05:30
feat: switch over to Compose alphas
This commit is contained in:
parent
eb053eb5bf
commit
7e91628339
2 changed files with 6 additions and 3 deletions
|
@ -213,9 +213,12 @@ internal fun TagRow(
|
||||||
tags: ImmutableList<String>,
|
tags: ImmutableList<String>,
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
FlowRow(verticalAlignment = Alignment.CenterVertically, modifier = modifier) {
|
FlowRow(
|
||||||
|
modifier = modifier,
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||||
|
) {
|
||||||
tags.forEach { tag ->
|
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ androidx-activity-compose = "androidx.activity:activity-compose:1.7.1"
|
||||||
androidx-benchmark-macro-junit4 = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha14"
|
androidx-benchmark-macro-junit4 = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha14"
|
||||||
androidx-browser = "androidx.browser:browser:1.5.0"
|
androidx-browser = "androidx.browser:browser:1.5.0"
|
||||||
androidx-compose-animation = { module = "androidx.compose.animation:animation" }
|
androidx-compose-animation = { module = "androidx.compose.animation:animation" }
|
||||||
androidx-compose-bom = "androidx.compose:compose-bom:2023.05.01"
|
androidx-compose-bom = "dev.chrisbanes.compose:compose-bom:2023.04.00-alpha04"
|
||||||
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
||||||
androidx-compose-material = { module = "androidx.compose.material:material" }
|
androidx-compose-material = { module = "androidx.compose.material:material" }
|
||||||
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue