uni
uni copied to clipboard
HomePage/Personal Area exit dialog
When a user presses the back button / swipes back on the homepage, a confirmation dialog appears with the message "Do you really want to exit?" (see image below).
If the user confirms, the app should close entirely. However, Navigator.of(context).pop(false) used in BackButtonExitWrapper (lib > view > home > widgets > exit_app_dialog.dart) only pops the current route (or page) off the navigation stack.
Alternatives: [ ] Close the app without showing any confirmation dialog; [x] Keep the confirmation dialog, and if the user confirms, close the app entirely; [ ] Remove the confirmation dialog and pop only the current page off the stack (keeps the app open).