fixed

7e90bf5 · gmorell · 2026-05-25 16:21

12 files +16 -15

Files changed

modified .gitlab-ci.yml
+1 −1
@@ -33,8 +33,8 @@ android-debug:
33 33 - android/.gradle/
34 34 before_script:
35 35 - cd android
36 − - chmod +x gradlew
37 36 script:
37 + # gradlew is committed with the exec bit (mode 100755); no chmod needed.
38 38 - ./gradlew --no-daemon :app:assembleDebug
39 39 artifacts:
40 40 paths:
modified android/app/src/main/java/org/neiam/waxx/app/ui/TemplateEditorScreen.kt
+15 −14
@@ -335,20 +335,21 @@ private fun TransitionRow(
335 335
336 336 @Composable
337 337 private fun StagePicker(stages: List<Stage>, selected: String?, onPick: (String) -> Unit) {
338 − LazyColumn(modifier = Modifier.fillMaxWidth(), contentPadding = PaddingValues(vertical = 2.dp)) {
339 − items(stages.sortedBy { it.position }, key = { it.id }) { s ->
340 − Row(
341 − modifier = Modifier
342 − .fillMaxWidth()
343 − .clickable { onPick(s.id) }
344 − .padding(vertical = 4.dp),
345 − ) {
346 − FilterChip(
347 − selected = s.id == selected,
348 − onClick = { onPick(s.id) },
349 − label = { Text(s.name) },
350 − )
351 − }
338 + // Plain Column (not LazyColumn) — nesting a LazyColumn inside another
339 + // LazyColumn's item slot crashes with "Vertically scrollable component
340 + // was measured with an infinity maximum height constraints" at
341 + // runtime. Stage lists are tiny (a handful per template) so eager
342 + // layout is fine.
343 + Column(
344 + modifier = Modifier.fillMaxWidth(),
345 + verticalArrangement = Arrangement.spacedBy(4.dp),
346 + ) {
347 + stages.sortedBy { it.position }.forEach { s ->
348 + FilterChip(
349 + selected = s.id == selected,
350 + onClick = { onPick(s.id) },
351 + label = { Text(s.name) },
352 + )
352 353 }
353 354 }
354 355 }

Parents: a7ca785