Skip to content

Commit

Permalink
Potential fix two for #359
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Apr 24, 2024
1 parent bda8fe8 commit 3b47dbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import 'package:common/ui/locale_spy.dart';
import 'package:common/util/logger.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:easy_logger/src/enums.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart' as widget;
Expand All @@ -29,6 +30,7 @@ import 'package:mobileraker/routing/app_router.dart';
import 'package:mobileraker/service/ui/snackbar_service_impl.dart';
import 'package:mobileraker/ui/components/error_card.dart';
import 'package:mobileraker/ui/components/theme_builder.dart';
import 'package:mobileraker_pro/mobileraker_pro.dart';
import 'package:pull_to_refresh_flutter3/pull_to_refresh_flutter3.dart';

import 'service/ui/bottom_sheet_service_impl.dart';
Expand All @@ -40,6 +42,8 @@ Future<void> main() async {
await setupLogger();
EasyLocalization.logger.enableLevels = [LevelMessages.error];

await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);

// FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);
runApp(ProviderScope(
// Injecting local implementation of interfaces defined in the common module
Expand Down

0 comments on commit 3b47dbe

Please sign in to comment.