Bug in tutorial concerning displayName?

Hi there,

Thanks for the great tutorial for WorkoutKit, that can be found here: https://developer.apple.com/videos/play/wwdc2023/10016/

In my view Text(scheduledWorkout.plan.workout.activity.displayName) in SamplePlannerView.swift (the main view)

does not show the correct string. For example for the running workout, it should show: "New Running Workout". This string is set in WorkoutStore.swift. However, it shows "Outdoor Running", which is the type of workout but not the display name that was given to it.

Best regards, Patrick

Bug in tutorial concerning displayName?
 
 
Q