rename for clarity
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user