Skip to content

Commit

Permalink
Merge pull request #17 from AhmedLSayed9/remove_unnecessary_tab_item_…
Browse files Browse the repository at this point in the history
…assignment

Remove unnecessary TabItem assignment
  • Loading branch information
AhmedLSayed9 authored Oct 17, 2024
2 parents 0a83f5c + b903042 commit ec19719
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
Expand Down

0 comments on commit ec19719

Please sign in to comment.