Skip to content

Commit 30dcce7

Browse files
committed
reps_increment is now actually used
1 parent df9abbe commit 30dcce7

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "org.grapentin.apps.exceer"
99
minSdkVersion 8
1010
targetSdkVersion 22
11-
versionCode 220
12-
versionName "0.2.2"
11+
versionCode 230
12+
versionName "0.2.3"
1313
}
1414
buildTypes {
1515
debug {

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
android:icon="@mipmap/ic_launcher"
1515
android:label="@string/app_name"
1616
android:theme="@style/AppTheme"
17-
android:versionCode="220"
18-
android:versionName="0.2.2">
17+
android:versionCode="230"
18+
android:versionName="0.2.3">
1919
<activity
2020
android:name=".MainActivity"
2121
android:label="@string/app_name"

app/src/main/java/org/grapentin/apps/exceer/models/BaseExercisable.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ private void increment ()
223223
return;
224224
}
225225

226-
reps.increment(props);
226+
for (int i = 0; i < props.reps_increment; ++i)
227+
reps.increment(props);
228+
227229
setCurrentProgress(reps.toString());
228230
}
229231
else if (props.duration_begin > 0)

app/src/main/res/xml/trainings_default.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@
342342

343343
<exercise>
344344

345+
<property name="reps_increment">2</property>
346+
345347
<exercise name="Push Ups">
346348

347349
<property name="primary_motion">eccentric</property>

0 commit comments

Comments
 (0)