If the user selects a new delivery address from the summary screen, we need to check the available menus that retrieve the server from that location:
- if the menu exist in the new ones (Compare the current MenuId we are using with the new ones):
- Check the new appState:
- if "build" save the new address and return the user to the summary screen.
- else use the current logic (Show bummer | error screen)
- else (menu doesn't exist)
- Check the new appState
- if "build" prompt the "Change Zone" YES/NO dialog:
- if YES selected clear order, save current address and send the user to the build screen again with the new menus
- else dismiss the dialog
- else use the current logic (Show bummer | error screen)
If the user selects a new delivery address from the summary screen, we need to check the available menus that retrieve the server from that location: