Skip to content

Commit

Permalink
pop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenr-egov committed Feb 12, 2025
1 parent 5c1fc16 commit 44a943f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/health_campaign_field_worker_app/lib/pages/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class _LoginPageState extends LocalizedState<LoginPage> {
i18.forgotPassword.primaryActionLabel,
),
onPressed: () {
Navigator.of(context).pop();
Navigator.of(ctx).pop();
context.router.popUntilRoot();
},
type: DigitButtonType.primary,
Expand Down

0 comments on commit 44a943f

Please sign in to comment.