Auto commit Thu Mar 19 09:01:01 PM CDT 2026
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user