Exercise totals widget not working when viewing workout from calendar
jorre127 opened this issue · comments
Yeah it should work but it doesn't auto update as the reps and stuff change. It's a button, so you can press it and then it will update the numbers correctly. Not very well written, this was one of the smaller bugs that I had forgotten about hehe
can we save the total for each workout in the firestore then when viewing the workout it will display that total instead of recalculating eveything ?
maybe the problem is with implementation because when you click REDO button:
onPressed: () {
Navigator.pop(context);
Navigator.of(context).pop();
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => WorkoutPage(widget.workout),
),
);
},
totals widget works well, and each button click shows proper values, but VIEW button have:
onPressed: () {
addExercises(widget.workout);
Navigator.pop(context);
},
Iam just guesting, because for now my application flow knowledge is on beginning level :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.