wip
This commit is contained in:
@@ -13,7 +13,7 @@ struct PlannedWorkoutView: View {
|
||||
|
||||
var body: some View {
|
||||
List {
|
||||
ForEach(workouts, id:\.workout.name) { plannedWorkout in
|
||||
ForEach(workouts.sorted(by: { $0.onDate < $1.onDate }), id:\.workout.name) { plannedWorkout in
|
||||
HStack {
|
||||
VStack(alignment: .leading) {
|
||||
Text(plannedWorkout.onDate.plannedDate?.weekDay ?? "-")
|
||||
|
||||
Reference in New Issue
Block a user