add UI for adding exercises to workouts
This commit is contained in:
@@ -14,6 +14,8 @@ struct ExerciseLibrary: View {
|
||||
|
||||
@State private var newExercise: Exercise?
|
||||
|
||||
// TODO: Add search bar to the top
|
||||
|
||||
var body: some View {
|
||||
NavigationSplitView {
|
||||
Group {
|
||||
@@ -50,6 +52,7 @@ struct ExerciseLibrary: View {
|
||||
AddExercise(exercise: exercise)
|
||||
}
|
||||
// TODO: It's possible to add a boolean here ("Terms accepted y/n"). Maybe add this for empty string
|
||||
.presentationDetents([.medium])
|
||||
.interactiveDismissDisabled()
|
||||
}
|
||||
} detail: {
|
||||
|
||||
Reference in New Issue
Block a user