From f2699d7e032630820dc7502173e465fabb6d644c Mon Sep 17 00:00:00 2001 From: Arne Date: Thu, 12 Dec 2024 10:32:50 +0100 Subject: [PATCH] Optimize cache --- .../java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index d6b1285cd5..86c9fcbb0f 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -1255,7 +1255,7 @@ public class MessageAdapter extends ArrayAdapter { if (showAvatar) { final var requiresAvatar = type == SENT ? !mergeIntoBottom : !mergeIntoTop; setRequiresAvatar(viewHolder, requiresAvatar); - AvatarWorkerTask.loadAvatar(message, viewHolder.contactPicture(), R.dimen.avatar); + AvatarWorkerTask.loadAvatar(message, viewHolder.contactPicture(), R.dimen.avatar_on_conversation_overview); } else { viewHolder.contactPicture().setVisibility(View.GONE); }