astashov / liftosaur

Weightlifting tracker app for coders
https://www.liftosaur.com
GNU Affero General Public License v3.0
241 stars 32 forks source link

Substitution for current workout does not use the right 1 rep max. #100

Open Trenton-Ruf opened 4 months ago

Trenton-Ruf commented 4 months ago

Substituting an exercise leaves the programed weights based on the original lift's 1 rep max. This only happens when applying the substitution to the current workout. Applying the change to the whole program works as expected.

For example: Screenshot_20240707-161524.png

If I substitute the barbell bench press for a dumbbell bench press, the same weights are programmed:

Screenshot_20240707-161603.png

If I do the substitution for the whole program then the new correct weights are programmed:

Screenshot_20240707-161653.png