Marco
109d3e23de
Previously, when you would navigate to a PerDate widget that already exists on the Navigation stack, a food that is entered will not be visible when popping to the PerDate widget with the same date. This is because the state is not updated (the BLoC exists per PerDate widget, and a change in one widget does not cause firing an event in the previous widget's BLoC). With this fix, we call setState() and update the entries for the widget from storage. |
||
---|---|---|
.. | ||
food_entry | ||
food_scan | ||
perdate | ||
storage | ||
utils | ||
main.dart |