misc ui changes

This commit is contained in:
Trey t
2024-11-30 12:53:42 -06:00
parent 5145896f7a
commit b268a271fd
2 changed files with 1 additions and 6 deletions

View File

@@ -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?

View File

@@ -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
}