Have wonders btn go to /home rather than pop(), eliminates the trailing queryString values

This commit is contained in:
Shawn 2024-01-09 14:58:33 -07:00
parent 3d9d15c5a0
commit 6e3d94eece

View File

@ -155,7 +155,7 @@ class _WonderHomeBtn extends StatelessWidget {
@override
Widget build(BuildContext context) {
return CircleBtn(
onPressed: () => Navigator.of(context).pop(),
onPressed: () => context.go(ScreenPaths.home),
bgColor: $styles.colors.white,
semanticLabel: $strings.wonderDetailsTabSemanticBack,
child: AnimatedContainer(