Skip to content

Commit

Permalink
Adjust remember on animatedDots
Browse files Browse the repository at this point in the history
  • Loading branch information
kateliu20 committed Oct 11, 2024
1 parent 57dc232 commit 3ca3039
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fun LoadingAnimation(
spacing: Dp = 7.dp,
movementDistance: Dp = 10.dp,
) {
val animatedDots = List(3) { remember { Animatable(0f) } }
val animatedDots = remember { List(4) { Animatable(0f) } }

animatedDots.forEachIndexed { index, dot ->
LaunchedEffect(dot) {
Expand Down

0 comments on commit 3ca3039

Please sign in to comment.