mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Optimize cache
This commit is contained in:
parent
c209086a8f
commit
f2699d7e03
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