From c2c772efe12bd3edde094afced0befba2fafb08e Mon Sep 17 00:00:00 2001 From: Victor Mykhailiv Date: Tue, 6 Jun 2023 12:11:47 +0200 Subject: [PATCH] Fixed init Logger --- lib/main.dart | 6 +++--- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 361eb67..caaaade 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -15,6 +15,9 @@ import 'package:timeago/timeago.dart' as timeago; void main() async { WidgetsFlutterBinding.ensureInitialized(); + // Crashlytics + await Logger.init(); + // DB final database = await AppDatabase.build(); final fileManager = FileManagerImpl(); @@ -27,9 +30,6 @@ void main() async { // Fonts GoogleFonts.config.allowRuntimeFetching = false; - // Crashlytics - await Logger.init(); - runApp(SlideMixApp( appDatabase: database, fileManager: fileManager, diff --git a/pubspec.yaml b/pubspec.yaml index fbaefc8..3eae239 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.5+10105 +version: 1.1.6+10106 environment: sdk: '>=3.0.0 <4.0.0'