Adjust rest time with a 1-second stepper instead of the wheel
The wheel row lands back on a Stepper (shared SecondsStepperRow), but keeps the fine 1-second step; holding a stepper button auto-repeats with acceleration, so the 10-180s range still traverses quickly.
This commit is contained in:
@@ -132,7 +132,7 @@ struct RoutineAddEditView: View {
|
||||
|
||||
Toggle("Custom Rest Time", isOn: $restOverrideEnabled)
|
||||
if restOverrideEnabled {
|
||||
SecondsWheelRow(title: "Rest Time", range: 10...180, seconds: $restSecondsValue)
|
||||
SecondsStepperRow(title: "Rest Time", range: 10...180, seconds: $restSecondsValue)
|
||||
}
|
||||
} header: {
|
||||
Text("Rest & Pacing")
|
||||
|
||||
Reference in New Issue
Block a user