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