Skip to content

Cafeteria HydratedBloc fix

Settings changes for allergen and avoided ingredients were not persisted correctly. Reason: SettingsChangedEvent did not create a new state, instead it just used copyWith with the new settings on the IdleState. Now a new Event takes the changed settings, changes the current state to allow Hydrated bloc to persist settings and then calls old SettingsChangedevent to transition to idle state

Edited by Dustin Becker-von Buch

Merge request reports