milestone/stable-1-reconcile-auth-3 #176

Merged
hugo merged 47 commits from milestone/stable-1-reconcile-auth-3 into master 2023-04-13 21:52:44 +00:00
Showing only changes of commit 222b650bd2 - Show all commits

View File

@ -101,9 +101,12 @@ class AuthenticationFirebaseDataSourceImpl
@override
Stream<Account?> streamAccount() =>
_firebaseAuth.userChanges().map<Account?>((user) {
if (user.isNull) {
return null;
}
try {
return AccountModelFirebase.fromFirebaseUser(user);
} on FirebaseAuthException {
} on Exception {
return null;
}
});