From 3a419126f31d7634497c818cd8195763dd440b21 Mon Sep 17 00:00:00 2001 From: TacoTheDank Date: Thu, 14 Apr 2022 16:50:28 -0400 Subject: [PATCH] Use simpler DrawerLayout method --- app/src/main/java/org/schabi/newpipe/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index 6ae5cf936..fcb9d9725 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -721,7 +721,7 @@ public class MainActivity extends AppCompatActivity { if (toggle != null) { toggle.syncState(); toolbarLayoutBinding.toolbar.setNavigationOnClickListener(v -> mainBinding.getRoot() - .openDrawer(GravityCompat.START)); + .open()); mainBinding.getRoot().setDrawerLockMode(DrawerLayout.LOCK_MODE_UNDEFINED); } } else {