mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 04:58:41 +00:00
opt live room
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -190,10 +190,11 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
final isVertical = videoDetailController.isVertical.value;
|
||||
final mode = plPlayerController?.mode;
|
||||
|
||||
late final size = Get.size;
|
||||
if (!(mode == FullScreenMode.vertical ||
|
||||
(mode == FullScreenMode.auto && isVertical) ||
|
||||
(mode == FullScreenMode.ratio &&
|
||||
(Get.height / Get.width < 1.25 || isVertical)))) {
|
||||
(isVertical || size.height / size.width < 1.25)))) {
|
||||
landScape();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user