Skip to content

Commit

Permalink
Resolves About Screen navigation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshatji800 committed May 27, 2023
1 parent 1db6f29 commit f1289e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Pages/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ class _HomeScreenState extends State<HomeScreen> {
case 2:
screenCurrent = SettingsScreen(index: themeIndex);
break;
case 5:
case 4:
print(position);
screenCurrent = AboutScreen(index: themeIndex);
break;
}
Expand Down Expand Up @@ -553,7 +554,8 @@ class _MenuState extends State<Menu> {
NavDrawerListTile(
icon: Icons.info,
onTap: () {
controller.position = 5;
controller.position = 4;
widget.updatePosition(4);
controller.toggle();
},
title: 'About',
Expand Down

0 comments on commit f1289e4

Please sign in to comment.