Unlocked landscape orientation and small bugs fixed

This commit is contained in:
Juan Gilsanz Polo 2023-05-01 04:33:31 +02:00
parent fb9fbbd35e
commit 42f589793c
4 changed files with 33 additions and 27 deletions

View file

@ -25,9 +25,6 @@ import 'package:adguard_home_manager/providers/servers_provider.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]
);
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
setWindowMinSize(const Size(500, 500));