mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-28 20:09:51 +00:00
Unlocked landscape orientation and small bugs fixed
This commit is contained in:
parent
fb9fbbd35e
commit
42f589793c
4 changed files with 33 additions and 27 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue