Skip to content

Commit

Permalink
Remove animation in VoiceMessageButton
Browse files Browse the repository at this point in the history
  • Loading branch information
alfogrillo committed Oct 25, 2023
1 parent eeba2ff commit b68428a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ struct VoiceMessageButton: View {
buttonLabel
.frame(width: buttonSize, height: buttonSize)
}
.animation(nil, value: state)
.buttonStyle(.plain)
.disabled(state == .loading)
.background(Circle().foregroundColor(.compound.bgCanvasDefault))
Expand Down

0 comments on commit b68428a

Please sign in to comment.