Fixed Bottom Toolbar not clickable in now playing when Shuffle is clicked
This commit is contained in:
parent
976d9d53cc
commit
6f7e97ac09
1 changed files with 3 additions and 1 deletions
|
@ -234,7 +234,9 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
||||||
super.onQueueChanged()
|
super.onQueueChanged()
|
||||||
// Mini player should be hidden in Playing Queue
|
// Mini player should be hidden in Playing Queue
|
||||||
// it may pop up if hideBottomSheet is called
|
// it may pop up if hideBottomSheet is called
|
||||||
if (currentFragment(R.id.fragment_container) !is PlayingQueueFragment) {
|
if (currentFragment(R.id.fragment_container) !is PlayingQueueFragment &&
|
||||||
|
bottomSheetBehavior.state != STATE_EXPANDED
|
||||||
|
) {
|
||||||
hideBottomSheet(MusicPlayerRemote.playingQueue.isEmpty())
|
hideBottomSheet(MusicPlayerRemote.playingQueue.isEmpty())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue