rename for clarity

This commit is contained in:
Trey t
2024-06-13 19:36:42 -05:00
parent 117ebd25a0
commit 1fbb0c90f4
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ class BridgeModule: NSObject, ObservableObject {
}
var nextExerciseObject: SupersetExercise? {
currentExerciseInfo.nextExercise
currentExerciseInfo.goToNextExercise
}
func resetCurrentWorkout() {
@@ -167,7 +167,7 @@ class BridgeModule: NSObject, ObservableObject {
}
func nextExercise() {
if let nextSupersetExercise = currentExerciseInfo.nextExercise {
if let nextSupersetExercise = currentExerciseInfo.goToNextExercise {
updateCurrent(exercise: nextSupersetExercise)
} else {
completeWorkout()