Auto commit Thu Mar 19 09:01:01 PM CDT 2026

This commit is contained in:
Tretzi
2026-03-19 21:01:01 -05:00
parent 3846f97fb2
commit ee60bf0c0f
6 changed files with 242 additions and 380 deletions

View File

@@ -51,7 +51,6 @@ fun DurationSliderCard(
Slider(
value = clamped.toFloat(),
onValueChange = {
// Keep it sane: snap to whole minutes for UX.
val snapped = (it / 60f).roundToInt().coerceIn(1, 8 * 60) * 60
onDurationSecChanged(snapped)
},
@@ -59,7 +58,7 @@ fun DurationSliderCard(
)
Text(
"1 min  8 hours",
"Range: 1 minute to 8 hours",
style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.7f),
)