Skip to content

Commit

Permalink
fix: formatted app navigator page
Browse files Browse the repository at this point in the history
  • Loading branch information
jnnabugwu committed Jul 1, 2024
1 parent 4e1912d commit 07d5511
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/smooth_app/lib/pages/navigator/app_navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 07d5511

Please sign in to comment.