mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-29 23:10:13 +08:00
opt in-app fullscreen
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -189,7 +189,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
(mode == FullScreenMode.auto && isVertical) ||
|
||||
(mode == FullScreenMode.ratio &&
|
||||
(isVertical || maxHeight / maxWidth < 1.25)))) {
|
||||
landScape();
|
||||
landscape();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -153,7 +153,10 @@ class PlayerFocus extends StatelessWidget {
|
||||
return true;
|
||||
|
||||
case LogicalKeyboardKey.keyF:
|
||||
plPlayerController.triggerFullScreen(status: !isFullScreen);
|
||||
plPlayerController.triggerFullScreen(
|
||||
status: !isFullScreen,
|
||||
inAppFullScreen: HardwareKeyboard.instance.isShiftPressed,
|
||||
);
|
||||
return true;
|
||||
|
||||
case LogicalKeyboardKey.escape:
|
||||
|
||||
Reference in New Issue
Block a user