mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 播放页横屏适配修复
This commit is contained in:
@@ -20,7 +20,7 @@ class AiDetail extends StatelessWidget {
|
||||
return Container(
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
padding: const EdgeInsets.only(left: 14, right: 14),
|
||||
height: context.height.abs() * 0.7,
|
||||
height: Utils.getSheetHeight(context),
|
||||
child: Column(
|
||||
children: [
|
||||
InkWell(
|
||||
|
||||
@@ -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