Skip to content

Commit 63c581f

Browse files
Updated animation for reactions
1 parent d3de7c4 commit 63c581f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/StreamChatSwiftUI/ChatChannel/ChatChannelViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ open class ChatChannelViewModel: ObservableObject, MessagesDataSource {
409409
|| message.type == .ephemeral {
410410
skipChanges = false
411411
if index.row < messages.count && message.reactionScoresId != messages[index.row].reactionScoresId {
412-
animateChanges = true
412+
animateChanges = message.linkAttachments.isEmpty
413413
}
414414
}
415415
default:

0 commit comments

Comments
 (0)