Use updated name of repetition in API response

Also use the same name locally for more consistency
This commit is contained in:
Roland Geider
2025-01-14 20:41:40 +01:00
parent 5a39c6c229
commit 5d542c51d9
5 changed files with 41 additions and 39 deletions

View File

@@ -47,7 +47,7 @@ Routine getTestRoutine({List<Exercise>? exercises}) {
..weight = 10
..rir = '1.5'
..date = DateTime(2021, 5, 1)
..reps = 10
..repetitions = 10
..routineId = 1;
log1.exerciseBase = testExercises[0];
log1.weightUnit = testWeightUnit1;
@@ -58,7 +58,7 @@ Routine getTestRoutine({List<Exercise>? exercises}) {
..weight = 10
..rir = '2'
..date = DateTime(2021, 5, 1)
..reps = 12
..repetitions = 12
..routineId = 1;
log2.exerciseBase = testExercises[0];
log2.weightUnit = testWeightUnit1;
@@ -69,7 +69,7 @@ Routine getTestRoutine({List<Exercise>? exercises}) {
..weight = 50
..rir = ''
..date = DateTime(2021, 5, 2)
..reps = 8
..repetitions = 8
..routineId = 1;
log3.exerciseBase = testExercises[1];
log3.weightUnit = testWeightUnit1;