Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Oct 3, 2023
1 parent 8c0c8ba commit 2ea34d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import 'package:lantern/common/common.dart';
Future<void> main() async {
// CI will be true only when running appium test
var CI = const String.fromEnvironment('CI', defaultValue: 'false');
var boolCI = const String.fromEnvironment("ci", defaultValue: 'false');
var boolCI = const bool.fromEnvironment("ci", defaultValue: false);
print('Appium CI is running $CI and bool $boolCI');

if (CI == 'true') {
enableFlutterDriverExtension();
}

WidgetsFlutterBinding.ensureInitialized();
await _initGoogleMobileAds();
await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
Expand Down

0 comments on commit 2ea34d3

Please sign in to comment.