mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Merge pull request #853 from Nephys222/Nephys
fix to the blank space problem of BottomNavBar in Android API<29
This commit is contained in:
commit
00c3b6e2da
@ -141,6 +141,8 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
binding.bottomNav.labelVisibilityMode = labelVisibilityMode
|
||||
|
||||
binding.bottomNav.setOnApplyWindowInsetsListener(null)
|
||||
|
||||
binding.bottomNav.setOnItemSelectedListener {
|
||||
// clear backstack if it's the start fragment
|
||||
if (startFragmentId == it.itemId) navController.backQueue.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user