From b903042385e31b6e01989379c0acccb390fdce72 Mon Sep 17 00:00:00 2001 From: Ahmed Elsayed Date: Thu, 17 Oct 2024 23:42:32 +0300 Subject: [PATCH] Remove unnecessary TabItem assignment --- .../home_shell/presentation/screens/home_shell_screen.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/features/home_shell/presentation/screens/home_shell_screen.dart b/lib/features/home_shell/presentation/screens/home_shell_screen.dart index 0b751b8b..ed8b721d 100755 --- a/lib/features/home_shell/presentation/screens/home_shell_screen.dart +++ b/lib/features/home_shell/presentation/screens/home_shell_screen.dart @@ -73,7 +73,6 @@ class HomeShellScreen extends HookConsumerWidget { onPopInvoked: (canPop) { //This prevent popping when tab isn't (Home) & instead will back to home. if (canPop) { - TabItem.values[navigationShell.currentIndex] = TabItem.home; navigationShell.goBranch(TabItem.home.index); } },