We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 867e243 + 108da71 commit fc76190Copy full SHA for fc76190
shared/ui/component/src/commonMain/kotlin/dev/dimension/flare/ui/component/AnimatedText.kt
@@ -59,9 +59,9 @@ internal fun AnimatedNumber(
59
targetState = digit,
60
transitionSpec = {
61
if (targetState > initialState) {
62
- fadeIn() + slideInVertically { -it } togetherWith fadeOut() + slideOutVertically { it }
63
- } else {
64
fadeIn() + slideInVertically { it } togetherWith fadeOut() + slideOutVertically { -it }
+ } else {
+ fadeIn() + slideInVertically { -it } togetherWith fadeOut() + slideOutVertically { it }
65
}.using(SizeTransform(clip = false))
66
},
67
) { digit ->
0 commit comments