This commit is contained in:
2025-07-15 19:08:28 -04:00
parent 48bbbbf692
commit 2d0e327334
7 changed files with 20 additions and 23 deletions

View File

@ -18,13 +18,18 @@ struct SplitExerciseAssignmentAddEditView: View {
var body: some View {
NavigationStack {
Form {
Section(header: Text("Sets/Reps")) {
Section (header: Text("Setup")) {
TextEditor(text: $model.setup)
.frame(minHeight: 60)
}
Section (header: Text("Sets/Reps")) {
Stepper("Sets: \(model.sets)", value: $model.sets, in: 1...10)
Stepper("Reps: \(model.reps)", value: $model.reps, in: 1...50)
}
// Weight section
Section(header: Text("Weight")) {
Section (header: Text("Weight")) {
HStack {
VStack(alignment: .center) {
Text("\(model.weight) lbs")