master #81

Closed
malo wants to merge 322 commits from master into feat/bloc_layout/new-package
Showing only changes of commit 222b650bd2 - Show all commits

View File

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