retain order of the exercises during persistence process
This commit is contained in:
@@ -49,15 +49,7 @@ struct ExerciseLibrary: View {
|
||||
.textInputAutocapitalization(.words)
|
||||
.focused($isInputFieldFocused)
|
||||
}
|
||||
Button(action: {
|
||||
addExerciseTemplate()
|
||||
}) {
|
||||
HStack {
|
||||
Image(systemName: "plus.circle.fill")
|
||||
.foregroundStyle(.green)
|
||||
Text("Add Exercise")
|
||||
}
|
||||
}
|
||||
AddItemButton(label: "Exercise", action: addExerciseTemplate)
|
||||
}
|
||||
.searchable(text: $searchText)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user