Skip to content

Commit

Permalink
quiz to mainhomeroute fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jun 12, 2024
1 parent 0c9db5a commit 36e4c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/explore/quiz.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ class _QuizState extends State<Quiz> {
minimumSize: Size(width * 0.7, 60),
),
onPressed: () {
Navigator.of(context).pop();
// Navigator.of(context).pop();
Navigator.of(context)
.pushReplacementNamed(
AllRoutesConstant.homeRoute);
AllRoutesConstant.mainhomeRoute);
},
child: Text(
"Go Back",
Expand Down

0 comments on commit 36e4c13

Please sign in to comment.