diff --git a/lib/main.dart b/lib/main.dart index e000a84..0836348 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; import 'package:get/get.dart'; import 'package:lottis_birthday_escaperoom_app/barcode_scanner_window.dart'; import 'package:lottis_birthday_escaperoom_app/controller/gamecontroller.dart'; @@ -7,6 +8,7 @@ import 'package:lottis_birthday_escaperoom_app/mobile_scanner_overlay.dart'; import 'package:lottis_birthday_escaperoom_app/screens/marker.dart'; void main() { + SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); runApp(const MyApp()); }