feat(watch): add workout summary screen with HealthKit data
This commit is contained in:
@@ -6,7 +6,9 @@ struct ContentView: View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
VStack(spacing: 16) {
|
||||
if workoutManager.isWorkoutActive {
|
||||
if workoutManager.workoutSummary != nil {
|
||||
WorkoutSummaryView(workoutManager: workoutManager)
|
||||
} else if workoutManager.isWorkoutActive {
|
||||
ActiveWorkoutView(workoutManager: workoutManager)
|
||||
} else if workoutManager.selectedWorkout != nil {
|
||||
WorkoutDetailView(workoutManager: workoutManager)
|
||||
|
||||
Reference in New Issue
Block a user