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.
1 parent 76a5971 commit 662717dCopy full SHA for 662717d
packages/firebase_ui_auth/lib/src/widgets/editable_user_display_name.dart
@@ -70,12 +70,13 @@ class _EditableUserDisplayNameState extends State<EditableUserDisplayName> {
70
_isLoading = true;
71
});
72
73
+ final previousDisplayName = displayName;
74
await auth.currentUser?.updateDisplayName(ctrl.text);
75
await auth.currentUser?.reload();
76
77
FirebaseUIAction.ofType<DisplayNameChangedAction>(context)?.callback(
78
context,
- displayName,
79
+ previousDisplayName,
80
ctrl.text,
81
);
82
} finally {
0 commit comments