Compare commits
No commits in common. "184975a77f1af1ea18a2400e04c1992f3008150d" and "a8a42c839c49825b16d2f63da90744ad246045e2" have entirely different histories.
184975a77f
...
a8a42c839c
|
|
@ -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