refactor: Replace Navigator.pop with Modular.to.popSafe for consistent navigation handling
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user