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 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 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, + ], + ), ), ), ), ), - ), + ], ], ), ),