From 581d2dbf5068b709d5d58fb4573cee2256419243 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Wed, 16 Nov 2022 10:03:25 +0100 Subject: [PATCH] Removed ChatConversationTableView entire reloading upon entry addition --- Classes/ChatConversationTableView.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/ChatConversationTableView.m b/Classes/ChatConversationTableView.m index 53d27638e..0822e472f 100644 --- a/Classes/ChatConversationTableView.m +++ b/Classes/ChatConversationTableView.m @@ -142,12 +142,11 @@ - (void)addEventEntry:(LinphoneEventLog *)event { [eventList addObject:[NSValue valueWithPointer:linphone_event_log_ref(event)]]; - [totalEventList addObject:[NSValue valueWithPointer:linphone_event_log_ref(event)]]; + [totalEventList addObject:[NSValue valueWithPointer:linphone_event_log_ref(event)]]; int pos = (int)eventList.count - 1; NSIndexPath *indexPath = [NSIndexPath indexPathForRow:pos inSection:0]; [self.tableView beginUpdates]; [self.tableView insertRowsAtIndexPaths:@[ indexPath ] withRowAnimation:UITableViewRowAnimationFade]; - [self.tableView reloadData]; [self.tableView endUpdates]; }