This commit is contained in:
Trey t
2023-08-12 13:41:53 -05:00
parent 4824fbc0fe
commit 2aa83f12f2
6 changed files with 89 additions and 6 deletions

View File

@@ -33,6 +33,11 @@ class CurrentWorkoutInfo {
return exercise
}
var allSupersetExecercise: SupersetExercise? {
let obj = workout?.allSupersetExecercise?[allSupersetExecerciseIndex]
return obj
}
var nextExercise: SupersetExercise? {
guard let workout = workout else { return nil }
guard let supersets = workout.supersets else { return nil }