diff --git a/packages/smooth_app/lib/pages/navigator/app_navigator.dart b/packages/smooth_app/lib/pages/navigator/app_navigator.dart index 0fcde3c364e..0f96da18859 100644 --- a/packages/smooth_app/lib/pages/navigator/app_navigator.dart +++ b/packages/smooth_app/lib/pages/navigator/app_navigator.dart @@ -226,9 +226,8 @@ class _SmoothGoRouter { ), GoRoute( path: _InternalAppRoutes.FORGOT_PASSWORD_PAGE, - builder:(_, __) => const ForgotPasswordPage(), - ), - + builder: (_, __) => const ForgotPasswordPage(), + ), GoRoute( path: _InternalAppRoutes.EXTERNAL_PAGE, builder: (BuildContext context, GoRouterState state) { @@ -288,10 +287,9 @@ class _SmoothGoRouter { } } else if (path == _ExternalRoutes.MOBILE_APP_DOWNLOAD) { return AppRoutes.HOME; - } else if (path == _ExternalRoutes.FORGOT_PASSWORD){ + } else if (path == _ExternalRoutes.FORGOT_PASSWORD) { return AppRoutes.FORGOT_PASSWORD; - } - else if (path == _ExternalRoutes.GUIDE_NUTRISCORE_V2) { + } else if (path == _ExternalRoutes.GUIDE_NUTRISCORE_V2) { return AppRoutes.GUIDE_NUTRISCORE_V2; } else if (path == _ExternalRoutes.SIGNUP) { return AppRoutes.SIGNUP; @@ -463,7 +461,7 @@ class AppRoutes { '/${_InternalAppRoutes._GUIDES}/${_InternalAppRoutes.GUIDE_NUTRISCORE_V2_PAGE}'; static String get SIGNUP => '/${_InternalAppRoutes.SIGNUP_PAGE}'; - static String get FORGOT_PASSWORD => + static String get FORGOT_PASSWORD => '/${_InternalAppRoutes.FORGOT_PASSWORD_PAGE}'; // Open an external link (where path is relative to the OFF website)