diff --git a/lib/features/home/view/home_page.dart b/lib/features/home/view/home_page.dart index e8092c3..219d5d6 100644 --- a/lib/features/home/view/home_page.dart +++ b/lib/features/home/view/home_page.dart @@ -49,8 +49,11 @@ class _HomePageState extends State { key: rootScaffoldKey, bottomNavigationBar: BottomNavBar( selectedIndex: _currentIndex, - onNavigationChanged: (index) => - setState(() => _currentIndex = index), + onNavigationChanged: (index) { + if (_currentIndex != index) { + setState(() => _currentIndex = index); + } + }, ), drawer: const InfoDrawer(), body: [