mod: statusbar: partial revert

This commit is contained in:
bggRGjQaUbCoE
2024-10-06 15:29:04 +08:00
parent 65fe9751ef
commit 158cf8a0cb

View File

@@ -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,