From d2b8689f48e463887899c41b48b947b66b78102a Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 27 Feb 2024 13:25:07 +0100 Subject: [PATCH] Fixed call history list cells not refreshed when native contacts are loaded or presence is received --- .../org/linphone/ui/main/history/adapter/HistoryListAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/linphone/ui/main/history/adapter/HistoryListAdapter.kt b/app/src/main/java/org/linphone/ui/main/history/adapter/HistoryListAdapter.kt index b57e0bf53..4a4d01203 100644 --- a/app/src/main/java/org/linphone/ui/main/history/adapter/HistoryListAdapter.kt +++ b/app/src/main/java/org/linphone/ui/main/history/adapter/HistoryListAdapter.kt @@ -88,7 +88,7 @@ class HistoryListAdapter : ListAdapter(Ca } override fun areContentsTheSame(oldItem: CallLogModel, newItem: CallLogModel): Boolean { - return oldItem.avatarModel.id == newItem.avatarModel.id && oldItem.iconResId == newItem.iconResId + return false // ContactAvatarModel will be the same object but with an updated content } } }