Skip to content

Commit

Permalink
Merge pull request #121 from SayedZeeshanHyder/main
Browse files Browse the repository at this point in the history
Drawer Navigation Correction Done
  • Loading branch information
SayedZeeshanHyder authored Jun 12, 2024
2 parents 55c916d + 796876d commit f15dfa5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/new_ui/screens/main_screen/main_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,8 @@ class _MainScreenState extends ConsumerState<MainScreen> {
),
),
onTap: () {
setState(() {
currentPage = 5;
});

Navigator.pop(context);
Navigator.push(context, MaterialPageRoute(builder: (context) => TPCScreen(),),);
},
),
ListTile(
Expand All @@ -362,10 +359,11 @@ class _MainScreenState extends ConsumerState<MainScreen> {
),
),
onTap: () {
setState(() {
/*setState(() {
currentPage = 6;
});
});*/
Navigator.pop(context);
Navigator.push(context, MaterialPageRoute(builder: (context)=> CommitteesScreen(),),);
},
),
ListTile(
Expand All @@ -383,10 +381,8 @@ class _MainScreenState extends ConsumerState<MainScreen> {
),
),
onTap: () {
setState(() {
currentPage = 7;
});
Navigator.pop(context);
Navigator.push(context,MaterialPageRoute(builder: (context)=> DepartmentListScreen(),),);
},
),
Link(
Expand Down

0 comments on commit f15dfa5

Please sign in to comment.