~anjan/lift

066835b0b9a42750f7d08cee3c26cec69bdf2fad — Anjandev Momi 4 years ago f7a42f4
531: simplify non-implemented workout comments
M app/src/main/java/ca/momi/lift/AssignedExcers.java => app/src/main/java/ca/momi/lift/AssignedExcers.java +1 -1
@@ 51,7 51,7 @@ public class AssignedExcers {
        if (MainActivity.program.equals(FIVE_31_BBB)) {
            return Routine531BBB.getComment(context);
        }
        return null;
        return "";
    }

    public static List<String> routNames () {

M app/src/main/java/ca/momi/lift/Workout.java => app/src/main/java/ca/momi/lift/Workout.java +1 -8
@@ 411,14 411,7 @@ public class Workout extends AppCompatActivity {


        workoutSessionText += getResources().getString(R.string.start_comment);

        String routComment = AssignedExcers.getComment(v.getContext());

        if (routComment != null){
            workoutSessionText += routComment;
        }


        workoutSessionText += AssignedExcers.getComment(v.getContext());
        // OnPause text is always the last word. Otherwise parser doesnt work
        if (onPause) {
            workoutSessionText += LastWorkout.onPausetxt;