From e9b254d341dd32d7c132accc4c5dd4717b0d79b2 Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:23:24 +0530 Subject: [PATCH] Update DrawerFragment.java --- .../java/com/panda3ds/pandroid/app/game/DrawerFragment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/game/DrawerFragment.java b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/game/DrawerFragment.java index 7a33b97bb..0df6591f1 100644 --- a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/game/DrawerFragment.java +++ b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/game/DrawerFragment.java @@ -89,6 +89,11 @@ public WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat wind ); } + @Override + public void onResume() { + super.onResume(); + setInsets(((NavigationView)drawerLayout.findViewById(R.id.menu))); + } @Override public void onDetach() {