Skip to content

Commit

Permalink
Use 3 loading animation dots instead of 4
Browse files Browse the repository at this point in the history
  • Loading branch information
kateliu20 committed Oct 10, 2024
1 parent 713c584 commit 57dc232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ChatPresenter : Presenter<ChatScreen.State> {
isLoading = true
val response = Message(callApi(event.message), isMe = false)
messages = messages + response
isLoading = false
// isLoading = false
}
}
}
Expand Down
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(4) { remember { Animatable(0f) } }
val animatedDots = List(3) { remember { Animatable(0f) } }

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

0 comments on commit 57dc232

Please sign in to comment.