Use simpler DrawerLayout method

This commit is contained in:
TacoTheDank 2022-04-14 16:50:28 -04:00
parent 3fb5073feb
commit 3a419126f3

View file

@ -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 {