Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Feb 16, 2024
1 parent 5df4ed2 commit ff6adf1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ protected void onResume() {
public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode, Configuration newConfig) {
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig);
if (isInPictureInPictureMode) {
if (drawerFragment.isOpened()) {
drawerFragment.close();
}
findViewById(R.id.overlay_controller).setVisibility(View.GONE);
} else {
if (GlobalConfig.get(GlobalConfig.KEY_SCREEN_GAMEPAD_VISIBLE)) {
Expand Down

0 comments on commit ff6adf1

Please sign in to comment.