mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 12:10:33 +08:00
opt type
opt ua opt subtitle opt playertype Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -940,8 +940,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
final double width = size.width;
|
||||
final double height = size.height;
|
||||
final padding = MediaQuery.paddingOf(context);
|
||||
if (enableVerticalExpand &&
|
||||
videoDetailController.direction.value == 'vertical') {
|
||||
if (enableVerticalExpand && videoDetailController.isVertical.value) {
|
||||
final double videoHeight =
|
||||
height - (removeSafeArea ? 0 : padding.vertical);
|
||||
final double videoWidth = videoHeight * 9 / 16;
|
||||
@@ -1026,8 +1025,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
final double width = size.width;
|
||||
final double height = size.height;
|
||||
final padding = MediaQuery.paddingOf(context);
|
||||
if (enableVerticalExpand &&
|
||||
videoDetailController.direction.value == 'vertical') {
|
||||
if (enableVerticalExpand && videoDetailController.isVertical.value) {
|
||||
final double videoHeight = height - (removeSafeArea ? 0 : padding.top);
|
||||
final double videoWidth = videoHeight * 9 / 16;
|
||||
return Row(
|
||||
|
||||
Reference in New Issue
Block a user