Skip to content

Commit b78e0ca

Browse files
committed
library: PullToRefresh: Extend collapse anim
1 parent d5f2d75 commit b78e0ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/PullToRefresh.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,9 @@ class PullToRefreshState(
572572

573573
private suspend fun startManualRefreshCompleteAnimation() {
574574
_refreshCompleteAnimProgress.floatValue = 0f
575-
val durationMillis = 100
575+
val durationMillis = 200
576576
val startTime = TimeSource.Monotonic.markNow()
577-
val easing: Easing = LinearEasing
577+
val easing: Easing = LinearOutSlowInEasing
578578

579579
while (true) {
580580
val elapsedTime = startTime.elapsedNow().inWholeMilliseconds

0 commit comments

Comments
 (0)