summaryrefslogtreecommitdiff
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/main.dart b/lib/main.dart
index 026019c..0b10f9b 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -1,3 +1,4 @@
+import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:pmsna1/providers/flags_provider.dart';
import 'package:pmsna1/providers/theme_provider.dart';
@@ -5,7 +6,9 @@ import 'package:pmsna1/routes.dart';
import 'package:pmsna1/settings/themes.dart';
import 'package:provider/provider.dart';
-void main(List<String> args) {
+void main(List<String> args) async {
+ WidgetsFlutterBinding.ensureInitialized();
+ await Firebase.initializeApp();
return runApp(const MainContent());
}