mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new: fullscreen mode
This commit is contained in:
@@ -75,7 +75,13 @@ class MyApp extends StatelessWidget {
|
||||
themeMode: themeMode,
|
||||
theme: light,
|
||||
darkTheme: tMode < 3 ? dark : _getAmoledTheme(dark),
|
||||
home: const HomePage(),
|
||||
home: Stores.setting.fullScreen.fetch()
|
||||
? OrientationBuilder(
|
||||
builder: (_, ori) {
|
||||
return HomePage(landscape: ori == Orientation.landscape);
|
||||
},
|
||||
)
|
||||
: const HomePage(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user