From bc5f57484695ec67654e618866d19d948c107b7e Mon Sep 17 00:00:00 2001 From: Michael Speed Date: Mon, 23 Sep 2024 12:41:50 +0200 Subject: [PATCH] Remove dev and prod .darts --- lib/main.dart | 6 +----- lib/main_dev.dart | 14 -------------- lib/main_prod.dart | 7 ------- 3 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 lib/main_dev.dart delete mode 100644 lib/main_prod.dart diff --git a/lib/main.dart b/lib/main.dart index 0a90cb84c..98ed7d735 100755 --- a/lib/main.dart +++ b/lib/main.dart @@ -45,11 +45,7 @@ var currentEnvironment = kReleaseMode : EnvironmentConstants.stagingEnv; //Temp main for ios -void main() { - mainCommon(); -} - -Future mainCommon() async { +void main() async { await initializeApp(); _runAppWithSentry(); } diff --git a/lib/main_dev.dart b/lib/main_dev.dart deleted file mode 100644 index df3d1c573..000000000 --- a/lib/main_dev.dart +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_flavor/flutter_flavor.dart'; -import 'package:medito/constants/colors/color_constants.dart'; -import 'main.dart'; - -void main() { - FlavorConfig( - name: 'DEV', - color: ColorConstants.lightPurple, - location: BannerLocation.topEnd, - ); - - mainCommon(); -} diff --git a/lib/main_prod.dart b/lib/main_prod.dart deleted file mode 100644 index 1494edced..000000000 --- a/lib/main_prod.dart +++ /dev/null @@ -1,7 +0,0 @@ -import 'package:flutter_flavor/flutter_flavor.dart'; -import 'main.dart'; - -void main() { - FlavorConfig(); - mainCommon(); -}