Compare commits
2 Commits
a8a42c839c
...
184975a77f
| Author | SHA1 | Date |
|---|---|---|
|
|
184975a77f | |
|
|
288637f4d5 |
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue