master #81

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

View File

@ -41,13 +41,17 @@ class AuthenticationFirebaseCacheDataSourceImpl<Data>
return null; return null;
} }
final jwt = await currentUser.getIdToken(true); try {
final currentAccount = AccountModel.fromFirebaseUser( final jwt = await currentUser.getIdToken(true);
currentUser, final currentAccount = AccountModel.fromFirebaseUser(
accessToken: jwt, currentUser,
); accessToken: jwt,
);
return currentAccount; return currentAccount;
} catch (e) {
return null;
}
} }
// Already done by Firebase // Already done by Firebase