File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33import 'dart:io' ;
44
55import 'package:flutter/material.dart' ;
6+ import 'package:flutter/services.dart' ;
67import 'package:get/get.dart' ;
78
89import 'package:loggy/loggy.dart' ;
@@ -46,7 +47,10 @@ Future main([List<String> args = const []]) async {
4647 '${testingDirectory .path }/profiles/acae0462-6a34-11e4-8001-002590720087' ,
4748 ).createSync (recursive: true );
4849 }
49-
50+ SystemChrome .setPreferredOrientations ([
51+ DeviceOrientation .portraitUp,
52+ DeviceOrientation .portraitDown
53+ ]).then ((value) =>
5054 runApp (
5155 FutureBuilder <Directory >(
5256 future: getApplicationDocumentsDirectory (),
@@ -57,7 +61,7 @@ Future main([List<String> args = const []]) async {
5761 )
5862 : const AppSetupPlaceholder (),
5963 ),
60- );
64+ )) ;
6165}
6266
6367Future init () async {
You can’t perform that action at this time.
0 commit comments