This commit is contained in:
Trey t
2024-07-01 22:34:27 -05:00
parent f1781744ca
commit 5f7c0a40b8
3 changed files with 68 additions and 25 deletions

View File

@@ -63,6 +63,7 @@ extension BridgeModule {
completedWorkout()
self.completedWorkout = nil
}
resetCurrentWorkout()
}
func start(workout: Workout) {

View File

@@ -177,7 +177,6 @@ struct WorkoutDetailView: View {
if let workoutData = createWorkoutData() {
workoutComplete = .completedWorkout(workoutData)
}
bridgeModule.resetCurrentWorkout()
}
}
.onReceive(NotificationCenter.default.publisher(