mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
强制横屏
This commit is contained in:
@ -26,6 +26,12 @@ void main() async {
|
||||
await SpUtil.getInstance();
|
||||
getIt.registerSingleton<UserInfoViewModel>(UserInfoViewModel());
|
||||
|
||||
await SystemChrome.setPreferredOrientations(
|
||||
[
|
||||
DeviceOrientation.portraitUp,
|
||||
DeviceOrientation.portraitDown,
|
||||
],
|
||||
);
|
||||
runApp(
|
||||
ProviderScope(
|
||||
overrides: [
|
||||
|
||||
Reference in New Issue
Block a user