~anjan/lift

5d67ac438936a1fc0a04bbb5a0ed06499d38152a — Anjandev Momi 4 years ago cd52391
fixed onPause never being true
1 files changed, 3 insertions(+), 3 deletions(-)

M app/src/main/java/ca/momi/lift/Workout.java
M app/src/main/java/ca/momi/lift/Workout.java => app/src/main/java/ca/momi/lift/Workout.java +3 -3
@@ 50,10 50,9 @@ public class Workout extends AppCompatActivity {

    private boolean pausing = false;

    protected void onDestroy() {
        super.onDestroy();
    protected void onResume() {
        super.onResume();
        pausing = false;
        doneWork.performClick();
    }

    protected void onPause() {


@@ 397,6 396,7 @@ public class Workout extends AppCompatActivity {
        });

        this.doneWork = doneWork;
        pausing = false;
    }

    private void writeData(String routineName, String dateString, String programName, boolean onPause, View v) {