Fix Swipe To Dismiss
This commit is contained in:
parent
80063ea903
commit
33bbc0d07e
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
private fun setupBottomSheet() {
|
||||
bottomSheetBehavior = from(binding.slidingPanel)
|
||||
bottomSheetBehavior.addBottomSheetCallback(bottomSheetCallbackList)
|
||||
if (PreferenceUtil.swipeDownToDismiss) bottomSheetBehavior.isHideable = true
|
||||
bottomSheetBehavior.isHideable = PreferenceUtil.swipeDownToDismiss
|
||||
setMiniPlayerAlphaProgress(0F)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue