Skip to content

Commit

Permalink
Fixed quiz related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sapatevaibhav authored Jun 28, 2024
1 parent 33c32f6 commit 2c10ab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/explore/explore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class _ExplorePageState extends State<ExplorePage> {
[
GestureDetector(
onTap: () {
Navigator.push(context, (MaterialPageRoute(builder: (context) => const QuizPage())));
Navigator.push(context, (MaterialPageRoute(builder: (context) => const Quiz())));
},
child: Container(
margin: const EdgeInsets.all(5.0),
Expand Down Expand Up @@ -120,7 +120,7 @@ class _ExplorePageState extends State<ExplorePage> {
try{
switch (index) {
case 0:
Navigator.push(context, (MaterialPageRoute(builder: (context) => const QuizPage())));
Navigator.push(context, (MaterialPageRoute(builder: (context) => const Quiz())));
break;
case 1:
Navigator.push(context, (MaterialPageRoute(builder: (context) => const AtoZ())));
Expand Down Expand Up @@ -233,4 +233,4 @@ class _ExplorePageState extends State<ExplorePage> {
),
);
}
}
}

0 comments on commit 2c10ab0

Please sign in to comment.