Do not expand player when queue is restored (#396)

This commit is contained in:
vfsfitvnm
2022-10-10 11:48:58 +02:00
parent ff611d792e
commit fae96d1114
3 changed files with 11 additions and 5 deletions

View File

@@ -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)