Insert the user's reaction at the top of the reactions list

This commit is contained in:
Benoit Martins 2025-07-23 09:46:32 +02:00
parent 93094b1bec
commit 5e267dc2de

View file

@ -2282,7 +2282,7 @@ class ConversationViewModel: ObservableObject {
detail: chatMessageReaction.body,
isMe: true
)
participantList[0].append(innerSheetCat)
participantList[0].insert(innerSheetCat, at: 0)
} else {
let innerSheetCat = InnerSheetCategory(contact: avatarResult, detail: chatMessageReaction.body)
participantList[0].append(innerSheetCat)