Skip to content

Commit

Permalink
Correct main button title transition
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksey-saenko committed Oct 24, 2024
1 parent e00639e commit ed419d0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ internal fun RecognitionButtonWithTitle(
transitionSpec = {
(slideIntoContainer(
towards = AnimatedContentTransitionScope.SlideDirection.Up,
animationSpec = tween(durationMillis = 350, delayMillis = 60)
animationSpec = tween(durationMillis = 350)
) + fadeIn(
animationSpec = tween(durationMillis = 200, delayMillis = 60)
animationSpec = tween(durationMillis = 300, easing = EaseOut)
)).togetherWith(
slideOutOfContainer(
towards = AnimatedContentTransitionScope.SlideDirection.Up,
animationSpec = tween(durationMillis = 350, delayMillis = 60)
animationSpec = tween(durationMillis = 350)
) + fadeOut(
animationSpec = tween(durationMillis = 100, delayMillis = 60)
animationSpec = tween(durationMillis = 150, easing = EaseIn)
)
)
},
Expand Down

0 comments on commit ed419d0

Please sign in to comment.