fix repetitive save of WorkoutItem, add: Onboarding, Defaults, Settings, Trainer/Trainee skeletons, reorder files, remove all Bindable
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// AddWorkoutView.swift
|
||||
// AddWorkout.swift
|
||||
// WorkoutsPlus
|
||||
//
|
||||
// Created by Felix Förtsch on 17.08.24.
|
||||
@@ -11,7 +11,7 @@ struct AddWorkout: View {
|
||||
@Environment(\.modelContext) private var modelContext
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
|
||||
@Bindable var workout: Workout
|
||||
@State var workout: Workout
|
||||
|
||||
var body: some View {
|
||||
Form {
|
||||
|
||||
Reference in New Issue
Block a user