Skip to content

Commit

Permalink
fix ebc7c8f
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Jan 25, 2025
1 parent 3e9c7ec commit 5136ac3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/pages/video/video_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,13 @@ class _VideoPageState extends State<VideoPage>
position: _rightOffsetAnimation,
child: SizedBox(
height: MediaQuery.of(context).size.height,
width:
(MediaQuery.of(context).size.width * 1 / 3 > 420
width: videoPageController.isFullscreen
? (Utils.isTablet()
? MediaQuery.of(context).size.width / 3
: MediaQuery.of(context).size.height)
: (MediaQuery.of(context).size.width / 3 > 420
? 420
: MediaQuery.of(context).size.width * 1 / 3),
: MediaQuery.of(context).size.width / 3),
child: Container(
color: Theme.of(context).canvasColor,
child: GridViewObserver(
Expand Down

0 comments on commit 5136ac3

Please sign in to comment.