mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 播放页横屏适配修复
This commit is contained in:
@@ -1070,8 +1070,8 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
<void>{
|
||||
if (MediaQuery.of(context).orientation ==
|
||||
Orientation.landscape &&
|
||||
setting.get(SettingBoxKey.exitFullscreenAutoVertical,
|
||||
defaultValue: true))
|
||||
!setting.get(SettingBoxKey.horizontalScreen,
|
||||
defaultValue: false))
|
||||
{
|
||||
SystemChrome.setPreferredOrientations([
|
||||
DeviceOrientation.portraitUp,
|
||||
|
||||
Reference in New Issue
Block a user