diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java index c963f707a5..beb826c564 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java @@ -557,8 +557,10 @@ private static void setFullscreenSdk30(Activity activity, boolean fullscreen) { (view, windowInsets) -> { if (fullscreen && !activity.isInMultiWindowMode()) { windowInsetsController.hide(WindowInsetsCompat.Type.systemBars()); + activity.getWindow().setDecorFitsSystemWindows(false); } else { windowInsetsController.show(WindowInsetsCompat.Type.systemBars()); + activity.getWindow().setDecorFitsSystemWindows(true); } return ViewCompat.onApplyWindowInsets(view, windowInsets);