mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
fix: Fix build
This commit is contained in:
parent
c6da3325b3
commit
258708b038
1 changed files with 4 additions and 4 deletions
|
@ -547,11 +547,11 @@ fun enterAlwaysCollapsedScrollBehavior(
|
|||
snapAnimationSpec: AnimationSpec<Float>? = spring(stiffness = Spring.StiffnessMediumLow),
|
||||
flingAnimationSpec: DecayAnimationSpec<Float>? = rememberSplineBasedDecay()
|
||||
): TopAppBarScrollBehavior {
|
||||
return remember(state, canScroll, isAtTop, snapAnimationSpec, flingAnimationSpec) {
|
||||
val (topHeightPx, totalHeightPx) = with(LocalDensity.current) {
|
||||
CollapsedContainerHeight.toPx() to ExpandedContainerHeight.toPx()
|
||||
}
|
||||
val (topHeightPx, totalHeightPx) = with(LocalDensity.current) {
|
||||
CollapsedContainerHeight.toPx() to ExpandedContainerHeight.toPx()
|
||||
}
|
||||
|
||||
return remember(state, canScroll, isAtTop, snapAnimationSpec, flingAnimationSpec, topHeightPx, totalHeightPx) {
|
||||
EnterAlwaysCollapsedScrollBehavior(
|
||||
state = state,
|
||||
snapAnimationSpec = snapAnimationSpec,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue