1
0
Fork 1

Optimize cache

This commit is contained in:
Arne 2024-12-12 10:32:50 +01:00
parent 185ba4f9a0
commit 5973b48a1a

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);
}