Fixed crash when only one bottom navigation tab is enabled
This commit is contained in:
parent
29671a374e
commit
4c59089c29
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
||||||
}
|
}
|
||||||
if (binding.bottomNavigationView.menu.size() == 1) {
|
if (binding.bottomNavigationView.menu.size() == 1) {
|
||||||
isInOneTabMode = true
|
isInOneTabMode = true
|
||||||
binding.bottomNavigationView.hide()
|
binding.bottomNavigationView.isVisible = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue