pull/438/head
Jorge Coca 3 years ago
parent 62f9535797
commit 4bede11508

@ -17,10 +17,8 @@ void main() {
final authenticationRepository = AuthenticationRepository(firebaseAuth);
final pinballAudioPlayer = PinballAudioPlayer();
final platformHelper = PlatformHelper();
unawaited(
Firebase.initializeApp().then(
(_) => authenticationRepository.authenticateAnonymously(),
),
await Firebase.initializeApp().then(
(_) async => authenticationRepository.authenticateAnonymously(),
);
return App(
authenticationRepository: authenticationRepository,

Loading…
Cancel
Save