From 5e267dc2de0cdfddfe2b5ff9b4179dc7280885ad Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Wed, 23 Jul 2025 09:46:32 +0200 Subject: [PATCH] Insert the user's reaction at the top of the reactions list --- .../UI/Main/Conversations/ViewModel/ConversationViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/UI/Main/Conversations/ViewModel/ConversationViewModel.swift b/Linphone/UI/Main/Conversations/ViewModel/ConversationViewModel.swift index 69ef5d267..f121e1f07 100644 --- a/Linphone/UI/Main/Conversations/ViewModel/ConversationViewModel.swift +++ b/Linphone/UI/Main/Conversations/ViewModel/ConversationViewModel.swift @@ -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)