Compare commits

...

2 Commits

Author SHA1 Message Date
mohamadmahdi jebeli 184975a77f ss 2025-05-03 11:17:19 +03:30
mohamadmahdi jebeli 288637f4d5 test 2025-05-03 11:17:10 +03:30
1 changed files with 2 additions and 2 deletions

View File

@ -127,13 +127,13 @@ class _LoginState extends State<Login> {
listener: (context, state) {
if (state is AuthSuccess) {
Navigator.push(
context,
context,
MaterialPageRoute(
builder: (context) =>
OTPverifaction(phoneNumber: phoneController.text),
),
);
} else if (state is AuthError) {
} else if (state is AuthError) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
duration: Duration(seconds: 2),