flutter icon indicating copy to clipboard operation
flutter copied to clipboard

Wrong back swipe ends the workout and there is no chance to continue

Open MakeGnomeWebFast opened this issue 2 years ago • 4 comments

Steps to Reproduce

  1. Start a workout and complete a few sets
  2. Push back button and exit the workout without finishing it.
  3. Try to start the same workout.
  4. It ignores your progress and start it from the beginning.

Expected results: It should continue where the user left.

MakeGnomeWebFast avatar Jun 08 '22 19:06 MakeGnomeWebFast

I see what you mean. Usually when I exit the current workout, I consider it "done" but having it be kept active in the background is probably a good idea.

rolandgeider avatar Jun 09 '22 17:06 rolandgeider

I would like to help solve this issue

saket2001 avatar Sep 07 '22 04:09 saket2001

@saket2001 it's all yours.

One possibility would be to save the current step and jump to it when re-opening the gym view. This would be reset when reaching the last page with the impression, a different gym mode is started or some time has passed

Depending on how much work you want to do, adding a new gym mode provider might be a good idea that would be also useful for other features

rolandgeider avatar Sep 07 '22 17:09 rolandgeider

For one of the other issues we were thinking about adding a provider that manages the gym mode. It might be a possibility to add it for this issue so that at the moment it just stores the current step

rolandgeider avatar Oct 07 '22 07:10 rolandgeider