diff --git a/iphone/Werkout_ios/APIModels/RegisteredUser.swift b/iphone/Werkout_ios/APIModels/RegisteredUser.swift index 9b06ef3..ec9a74c 100644 --- a/iphone/Werkout_ios/APIModels/RegisteredUser.swift +++ b/iphone/Werkout_ios/APIModels/RegisteredUser.swift @@ -7,7 +7,7 @@ import Foundation -struct RegisteredUser: Codable, Hashable { +struct RegisteredUser: Codable, Hashable, Equatable { let id: Int let firstName, lastName, image: String? let nickName: String? diff --git a/iphone/Werkout_ios/subview/PlannedWorkoutView.swift b/iphone/Werkout_ios/subview/PlannedWorkoutView.swift index 87a5297..2435c3f 100644 --- a/iphone/Werkout_ios/subview/PlannedWorkoutView.swift +++ b/iphone/Werkout_ios/subview/PlannedWorkoutView.swift @@ -36,12 +36,7 @@ struct PlannedWorkoutView: View { Text(plannedWorkout.workout.description ?? "") .font(.body) .frame(maxWidth: .infinity, alignment: .leading) - - Text(plannedWorkout.onDate) - .font(.footnote) - .frame(maxWidth: .infinity, alignment: .leading) } - .contentShape(Rectangle()) .onTapGesture { selectedPlannedWorkout = plannedWorkout.workout }