Optimize cache

This commit is contained in:
Arne 2024-12-12 10:32:50 +01:00
parent c209086a8f
commit f2699d7e03

View file

@ -1255,7 +1255,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
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);
}