Fixed Player not collapsing when Queue is cleared
This commit is contained in:
parent
2d7567584a
commit
8a181607be
1 changed files with 1 additions and 3 deletions
|
@ -232,9 +232,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
super.onQueueChanged()
|
||||
// Mini player should be hidden in Playing Queue
|
||||
// it may pop up if hideBottomSheet is called
|
||||
if (currentFragment(R.id.fragment_container) !is PlayingQueueFragment &&
|
||||
bottomSheetBehavior.state != STATE_EXPANDED
|
||||
) {
|
||||
if (currentFragment(R.id.fragment_container) !is PlayingQueueFragment) {
|
||||
hideBottomSheet(MusicPlayerRemote.playingQueue.isEmpty())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue