We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ForgotPasswordScreen
1 parent 955e5c2 commit ad66666Copy full SHA for ad66666
packages/firebase_ui_auth/lib/src/widgets/email_form.dart
@@ -277,13 +277,14 @@ class _SignInFormContentState extends State<_SignInFormContent> {
277
onPressed: () {
278
final navAction =
279
FirebaseUIAction.ofType<ForgotPasswordAction>(context);
280
+ final email = widget.email ?? emailCtrl.text;
281
282
if (navAction != null) {
- navAction.callback(context, emailCtrl.text);
283
+ navAction.callback(context, email);
284
} else {
285
showForgotPasswordScreen(
286
context: context,
- email: emailCtrl.text,
287
+ email: email,
288
auth: widget.auth,
289
);
290
}
0 commit comments