mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
bring back remove player safearea
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -1616,6 +1616,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
isTop: true,
|
||||
controller: animationController,
|
||||
isFullScreen: isFullScreen,
|
||||
removeSafeArea: plPlayerController.removeSafeArea,
|
||||
child: plPlayerController.isDesktopPip
|
||||
? GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
@@ -1628,6 +1629,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
isTop: false,
|
||||
controller: animationController,
|
||||
isFullScreen: isFullScreen,
|
||||
removeSafeArea: plPlayerController.removeSafeArea,
|
||||
child:
|
||||
widget.bottomControl ??
|
||||
BottomControl(
|
||||
@@ -1816,6 +1818,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
if (plPlayerController.showFsLockBtn)
|
||||
ViewSafeArea(
|
||||
right: false,
|
||||
left: !plPlayerController.removeSafeArea,
|
||||
child: Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: FractionalTranslation(
|
||||
@@ -1859,6 +1862,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
if (plPlayerController.showFsScreenshotBtn)
|
||||
ViewSafeArea(
|
||||
left: false,
|
||||
right: !plPlayerController.removeSafeArea,
|
||||
child: Obx(
|
||||
() => Align(
|
||||
alignment: Alignment.centerRight,
|
||||
|
||||
Reference in New Issue
Block a user