Commit c07c7e6f authored by Fikri's avatar Fikri
parents 7841de7e c5894157
...@@ -92,7 +92,7 @@ class FirebaseAuthMethods { ...@@ -92,7 +92,7 @@ class FirebaseAuthMethods {
Navigator.pushNamed(context, '/demo'); Navigator.pushNamed(context, '/demo');
} }
} on FirebaseAuthException catch (e) { } on FirebaseAuthException catch (e) {
showSnackBar(context, e.message!); // Displaying the error message showDialog(context: context, builder: (context) => AlertDialog(title: Text(e.message!,style: TextStyle(color: Colors.yellow),),backgroundColor: Colors.red,)); // Displaying the error message
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment