From 580b8221a6c823258e00cf658c463120011e377d Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Fri, 21 Jul 2023 14:31:58 +0200 Subject: [PATCH] Fix: food preferences redirecting to a 404 page (#4348) --- packages/smooth_app/lib/pages/navigator/app_navigator.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/lib/pages/navigator/app_navigator.dart b/packages/smooth_app/lib/pages/navigator/app_navigator.dart index c330a4fd9c7..0cc2598e4b1 100644 --- a/packages/smooth_app/lib/pages/navigator/app_navigator.dart +++ b/packages/smooth_app/lib/pages/navigator/app_navigator.dart @@ -157,7 +157,8 @@ class _SmoothGoRouter { }, ), GoRoute( - path: '${_InternalAppRoutes.PREFERENCES_PAGE}/:preferenceType', + path: + '${_InternalAppRoutes.PREFERENCES_PAGE.path}/:preferenceType', builder: (BuildContext context, GoRouterState state) { final String? type = state.pathParameters['preferenceType'];