uni icon indicating copy to clipboard operation
uni copied to clipboard

HomePage/Personal Area exit dialog

Open vitormpp opened this issue 1 year ago • 0 comments

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).

screenshot

vitormpp avatar Oct 02 '24 15:10 vitormpp