Skip to content

Commit

Permalink
fix: 全屏时忽略左右安全区域 issues #80
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Sep 11, 2023
1 parent 1922a91 commit 74ec4cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/plugin/pl_player/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,9 @@ class PlPlayerController {
builder: (context) => Dialog.fullscreen(
backgroundColor: Colors.black,
child: SafeArea(
// 忽略手机安全区域
left: false,
right: false,
bottom:
direction.value == 'vertical' || mode == FullScreenMode.vertical
? true
Expand Down

0 comments on commit 74ec4cc

Please sign in to comment.