refactor: Replace Navigator.pop with Modular.to.popSafe for consistent navigation handling

This commit is contained in:
Achintha Isuru
2026-03-04 13:08:39 -05:00
parent b20039ae84
commit 867ff8d61c
9 changed files with 23 additions and 16 deletions

View File

@@ -155,7 +155,7 @@ class _PhoneVerificationPageState extends State<PhoneVerificationPage> {
BlocProvider.of<AuthBloc>(
context,
).add(AuthResetRequested(mode: widget.mode));
Navigator.of(context).pop();
Modular.to.popSafe();;
},
),
body: SafeArea(