Pressing pogchamp (submitting) returns to home)
This commit is contained in:
@@ -188,7 +188,10 @@ showAlertDialog(BuildContext context, int chosenLine, String chosenColour, Strin
|
|||||||
Widget okButton = TextButton(
|
Widget okButton = TextButton(
|
||||||
child: const Text("Pogchamp"),
|
child: const Text("Pogchamp"),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.pushNamedAndRemoveUntil(
|
||||||
|
context,
|
||||||
|
'/',
|
||||||
|
(route) => false);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user