Skip to content

Change how each SettingsWidget changes the State's settings.

  • Create a temporary CafeteriaSettings instance that is used to Display Wizard and Settingspage elements, which will then call SettingsChangedEvent upon completion (onWillPop for Settingspage, next or finalize for Wizard)
  • Make fields in CafeteriaSettings final now that nothing changes it directly anymore
  • Create new Bloc for just the Settings, move CafeteriaSelection from Settings to Main Bloc State.
  • Process SettingsChanges directly through Events
  • Remove unneccessary setState calls
Edited by Dustin Becker-von Buch

Merge request reports