Optimize cache
This commit is contained in:
parent
185ba4f9a0
commit
5973b48a1a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue