mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-01 15:49:49 +08:00
mod: statusbar: partial revert
This commit is contained in:
@@ -461,21 +461,21 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
plPlayerController?.direction.value == 'vertical') {
|
plPlayerController?.direction.value == 'vertical') {
|
||||||
videoHeight = context.width;
|
videoHeight = context.width;
|
||||||
}
|
}
|
||||||
// if (MediaQuery.of(context).orientation ==
|
if (MediaQuery.of(context).orientation ==
|
||||||
// Orientation.landscape &&
|
Orientation.landscape &&
|
||||||
// !horizontalScreen &&
|
!horizontalScreen &&
|
||||||
// !isFullScreen &&
|
!isFullScreen &&
|
||||||
// isShowing &&
|
isShowing &&
|
||||||
// mounted) {
|
mounted) {
|
||||||
// hideStatusBar();
|
hideStatusBar();
|
||||||
// }
|
}
|
||||||
// if (MediaQuery.of(context).orientation ==
|
if (MediaQuery.of(context).orientation ==
|
||||||
// Orientation.portrait &&
|
Orientation.portrait &&
|
||||||
// !isFullScreen &&
|
!isFullScreen &&
|
||||||
// isShowing &&
|
isShowing &&
|
||||||
// mounted) {
|
mounted) {
|
||||||
// if (!removeSafeArea) showStatusBar();
|
if (!removeSafeArea) showStatusBar();
|
||||||
// }
|
}
|
||||||
return Container(
|
return Container(
|
||||||
color:
|
color:
|
||||||
showStatusBarBackgroundColor ? null : Colors.black,
|
showStatusBarBackgroundColor ? null : Colors.black,
|
||||||
|
|||||||
Reference in New Issue
Block a user