Do not expand player when queue is restored (#396)
This commit is contained in:
@@ -129,7 +129,7 @@ class BottomSheetState(
|
||||
1f - (animatable.upperBound!! - animatable.value) / (animatable.upperBound!! - collapsedBound)
|
||||
}
|
||||
|
||||
private fun collapse(animationSpec: AnimationSpec<Dp>) {
|
||||
fun collapse(animationSpec: AnimationSpec<Dp>) {
|
||||
onAnchorChanged(collapsedAnchor)
|
||||
coroutineScope.launch {
|
||||
animatable.animateTo(collapsedBound, animationSpec)
|
||||
|
||||
Reference in New Issue
Block a user