simplify Exercise to only hold on to the unit of the metric, remove ValueKeyboard as input
This commit is contained in:
@@ -51,9 +51,9 @@ struct SetListItem: View {
|
||||
|
||||
#Preview {
|
||||
@Previewable @State var set = WorkoutItem(set: [
|
||||
WorkoutItem(reps: 10, "Squat"),
|
||||
WorkoutItem(reps: 10, "Squat"),
|
||||
WorkoutItem(reps: 10, "Squat")])
|
||||
WorkoutItem(Exercise("Squat")),
|
||||
WorkoutItem(Exercise("Squat")),
|
||||
WorkoutItem(Exercise("Squat"))])
|
||||
List {
|
||||
SetListItem(workout: Workout(name: "RR"), set: $set)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user