ExpandableMangaDescription: Adjust size transform anim spec
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com> (cherry picked from commit 1c16fc79c2ac4c4be30308fed84ffb371dab5902)
This commit is contained in:
parent
be9735f42d
commit
9658c25d2f
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ package eu.kanade.presentation.manga.components
|
|||
|
||||
import androidx.compose.animation.animateContentSize
|
||||
import androidx.compose.animation.core.animateFloatAsState
|
||||
import androidx.compose.animation.core.spring
|
||||
import androidx.compose.animation.graphics.res.animatedVectorResource
|
||||
import androidx.compose.animation.graphics.res.rememberAnimatedVectorPainter
|
||||
import androidx.compose.animation.graphics.vector.AnimatedImageVector
|
||||
|
|
@ -329,7 +330,8 @@ fun ExpandableMangaDescription(
|
|||
modifier = Modifier
|
||||
.padding(top = 8.dp)
|
||||
.padding(vertical = 12.dp)
|
||||
.animateContentSize(),
|
||||
.animateContentSize(animationSpec = spring())
|
||||
.fillMaxWidth(),
|
||||
) {
|
||||
var showMenu by remember { mutableStateOf(false) }
|
||||
var tagSelected by remember { mutableStateOf("") }
|
||||
|
|
|
|||
Loading…
Reference in a new issue