diff --git a/lib/ui/mobile/buttons/menu_button.dart b/lib/ui/mobile/buttons/menu_button.dart index c1cee939..81868834 100644 --- a/lib/ui/mobile/buttons/menu_button.dart +++ b/lib/ui/mobile/buttons/menu_button.dart @@ -136,6 +136,7 @@ class _MenuButtonState extends State { title: const Text('App Settings'), onTap: () { options.clear(); + Navigator.pop(context); // Close the menu Navigator.pushNamed( context, '/settings' @@ -149,6 +150,7 @@ class _MenuButtonState extends State { contentPadding: const EdgeInsets.symmetric(horizontal: 8.0), title: const Text('About'), onTap: () { + Navigator.pop(context); // Close the menu Navigator.pushNamed(context, '/about'); }, ),