mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Use simpler DrawerLayout method
This commit is contained in:
		| @@ -721,7 +721,7 @@ public class MainActivity extends AppCompatActivity { | |||||||
|             if (toggle != null) { |             if (toggle != null) { | ||||||
|                 toggle.syncState(); |                 toggle.syncState(); | ||||||
|                 toolbarLayoutBinding.toolbar.setNavigationOnClickListener(v -> mainBinding.getRoot() |                 toolbarLayoutBinding.toolbar.setNavigationOnClickListener(v -> mainBinding.getRoot() | ||||||
|                         .openDrawer(GravityCompat.START)); |                         .open()); | ||||||
|                 mainBinding.getRoot().setDrawerLockMode(DrawerLayout.LOCK_MODE_UNDEFINED); |                 mainBinding.getRoot().setDrawerLockMode(DrawerLayout.LOCK_MODE_UNDEFINED); | ||||||
|             } |             } | ||||||
|         } else { |         } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 TacoTheDank
					TacoTheDank