From 2a8f8eb1f009c1f33218d1f0a54a32bd208248b3 Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Wed, 8 Apr 2020 12:48:46 +0300 Subject: [PATCH] hot fix for change API --- lib/widgets/auth/login_form.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/widgets/auth/login_form.dart b/lib/widgets/auth/login_form.dart index 1c277d4f..15531478 100644 --- a/lib/widgets/auth/login_form.dart +++ b/lib/widgets/auth/login_form.dart @@ -181,7 +181,9 @@ class _LoginFormState extends State { ), RaisedButton( onPressed: () { - login(context, authProv); + Navigator.of(context).pushNamed(VERIFICATION_METHODS); + + // login(context, authProv); }, textColor: Colors.white, elevation: 0.0,