Fixed Mini player visibility
This commit is contained in:
parent
7c0701efad
commit
c5c4144973
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
private fun setupBottomSheet() {
|
||||
bottomSheetBehavior = from(binding.slidingPanel) as RetroBottomSheetBehavior
|
||||
bottomSheetBehavior.addBottomSheetCallback(bottomSheetCallbackList)
|
||||
setMiniPlayerAlphaProgress(0F)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
@ -158,6 +159,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
}
|
||||
|
||||
fun expandPanel() {
|
||||
setMiniPlayerAlphaProgress(1.0f)
|
||||
bottomSheetBehavior.state = STATE_EXPANDED
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue