Skip to content

Commit

Permalink
Remove FlavorConfig class
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Jan 13, 2024
1 parent 10e96f5 commit 1639c73
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 128 deletions.
26 changes: 0 additions & 26 deletions lib/core/flavor_config.dart

This file was deleted.

95 changes: 0 additions & 95 deletions lib/logic/utils/list.dart

This file was deleted.

7 changes: 0 additions & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:flutter/widgets.dart'
import 'package:flutter_dotenv/flutter_dotenv.dart' show dotenv;
import 'package:logging/logging.dart' show Logger;

import 'core/flavor_config.dart';
import 'core/log/logger.dart';
import 'core/my_app.dart';
import 'core/start/app_startup.dart';
Expand All @@ -23,12 +22,6 @@ Future<void> main() async {
});
}

FlavorConfig.setup(
appStore: const String.fromEnvironment('APP_STORE', defaultValue: ''),
isShouldCheckForUpdates:
const bool.fromEnvironment('UPDATE_CHECK', defaultValue: false),
);

await dotenv.load(fileName: '.env');
await AppStartup.getInstance().initialize();
runApp(const MyApp());
Expand Down

0 comments on commit 1639c73

Please sign in to comment.