Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix phone device fullscreen bug

ErBW_s7214a086afdd
diff --git a/lib/pages/video/video_page.dart b/lib/pages/video/video_page.dart
index 3480aee1..bdf98f98 100644
--- a/lib/pages/video/video_page.dart
+++ b/lib/pages/video/video_page.dart
@@ -317,7 +317,7 @@ class _VideoPageState extends State<VideoPage>
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
child: playerBody),
- if (videoPageController.showTabBody)
+ if (videoPageController.showTabBody) ...[
GestureDetector(
onTap: () {
closeTabBodyAnimated();
@@ -328,27 +328,28 @@ class _VideoPageState extends State<VideoPage>
height: double.infinity,
),
),
- SlideTransition(
- position: _rightOffsetAnimation,
- child: SizedBox(
- height: MediaQuery.of(context).size.height,
- width: (Utils.isTablet())
- ? MediaQuery.of(context).size.width / 2
- : MediaQuery.of(context).size.height,
- child: Container(
- color: Theme.of(context).canvasColor,
- child: GridViewObserver(
- controller: observerController,
- child: Column(
- children: [
- menuBar,
- menuBody,
- ],
+ SlideTransition(
+ position: _rightOffsetAnimation,
+ child: SizedBox(
+ height: MediaQuery.of(context).size.height,
+ width: (Utils.isTablet())
+ ? MediaQuery.of(context).size.width / 2
+ : MediaQuery.of(context).size.height,
+ child: Container(
+ color: Theme.of(context).canvasColor,
+ child: GridViewObserver(
+ controller: observerController,
+ child: Column(
+ children: [
+ menuBar,
+ menuBody,
+ ],
+ ),
),
),
),
),
- ),
+ ],
],
),
),