Revert "hide systembar when preview"

This reverts commit 0fb394cc36.
This commit is contained in:
dom
2026-04-23 11:07:31 +08:00
parent 354282930c
commit d6bce6aa63
6 changed files with 19 additions and 49 deletions

View File

@@ -1443,7 +1443,7 @@ class PlPlayerController with BlockConfigMixin {
try {
if (status) {
if (PlatformUtils.isMobile) {
hideSystemBar();
hideStatusBar();
if (orientation == null && mode == .none) {
return;
}
@@ -1476,7 +1476,7 @@ class PlPlayerController with BlockConfigMixin {
} else {
if (PlatformUtils.isMobile) {
if (!removeSafeArea) {
showSystemBar();
showStatusBar();
}
if (orientation == null && mode == .none) {
return;
@@ -1625,7 +1625,7 @@ class PlPlayerController with BlockConfigMixin {
_playerCount = 0;
if (removeSafeArea) {
showSystemBar();
showStatusBar();
}
danmakuController = null;
_stopOrientationListener();