From 57e879ae9fb19526c152ae9f2844f25217534634 Mon Sep 17 00:00:00 2001 From: orz12 Date: Thu, 29 Feb 2024 20:57:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=92=AD=E6=94=BE=E5=99=A8=E4=B8=8B?= =?UTF-8?q?=E6=96=B9=E5=B0=BA=E5=AF=B8=E8=87=AA=E5=8A=A8=E6=92=91=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/view.dart | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 58f53928..a409aa32 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -323,6 +323,10 @@ class _VideoDetailPageState extends State Obx( () { final double videoheight = Get.width * 9 / 16; + // final double videoheight = + // plPlayerController?.direction.value == 'vertical' + // ? Get.width + // : Get.width * 9 / 16; final double videowidth = Get.width; return SizedBox( height: MediaQuery.of(context).orientation == @@ -482,15 +486,7 @@ class _VideoDetailPageState extends State ); }, ), - SizedBox( - height: MediaQuery.of(context).orientation == - Orientation.landscape || - isFullScreen.value == true - ? 0 - : Get.height - - Get.width * 9 / 16 - - MediaQuery.of(context).padding.top, - width: MediaQuery.of(context).size.width, + Expanded( child: ColoredBox( key: Key(heroTag), color: Theme.of(context).colorScheme.background,