diff --git a/lib/main.dart b/lib/main.dart index 649e9e1..0556b9b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -10,8 +10,8 @@ import 'package:overlay_support/overlay_support.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); - EnvironmentConfig.loadEnvVariables(); - SystemChrome.setPreferredOrientations([ + await EnvironmentConfig.loadEnvVariables(); + await SystemChrome.setPreferredOrientations([ DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]);