misc ui changes
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
struct RegisteredUser: Codable, Hashable {
|
struct RegisteredUser: Codable, Hashable, Equatable {
|
||||||
let id: Int
|
let id: Int
|
||||||
let firstName, lastName, image: String?
|
let firstName, lastName, image: String?
|
||||||
let nickName: String?
|
let nickName: String?
|
||||||
|
|||||||
@@ -36,12 +36,7 @@ struct PlannedWorkoutView: View {
|
|||||||
Text(plannedWorkout.workout.description ?? "")
|
Text(plannedWorkout.workout.description ?? "")
|
||||||
.font(.body)
|
.font(.body)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
|
||||||
Text(plannedWorkout.onDate)
|
|
||||||
.font(.footnote)
|
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
|
||||||
}
|
}
|
||||||
.contentShape(Rectangle())
|
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
selectedPlannedWorkout = plannedWorkout.workout
|
selectedPlannedWorkout = plannedWorkout.workout
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user