From 55a7e7d900c96a2298dca85a575cfe3f152347c4 Mon Sep 17 00:00:00 2001
From: LittleSheep <littlesheep.code@hotmail.com>
Date: Sat, 29 Mar 2025 01:04:37 +0800
Subject: [PATCH] :bug: Fix app drawer did not close after selected

---
 lib/widgets/navigation/app_drawer_navigation.dart | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/widgets/navigation/app_drawer_navigation.dart b/lib/widgets/navigation/app_drawer_navigation.dart
index 679ca37..69dd29b 100644
--- a/lib/widgets/navigation/app_drawer_navigation.dart
+++ b/lib/widgets/navigation/app_drawer_navigation.dart
@@ -87,6 +87,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
                         onTap: () {
                           GoRouter.of(context).pushNamed(ele.screen);
                           nav.setIndex(idx);
+                          Scaffold.of(context).closeDrawer();
                         },
                       );
                     })