mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Fix NPE when rendering group member item.
This commit is contained in:
@@ -215,7 +215,10 @@ final class GroupMemberListAdapter extends LifecycleRecyclerAdapter<GroupMemberL
|
||||
void bindImageAndText(@NonNull Recipient recipient, @NonNull String displayText, @Nullable String about) {
|
||||
this.recipient.setText(displayText);
|
||||
this.avatar.setRecipient(recipient);
|
||||
this.badge.setBadgeFromRecipient(recipient);
|
||||
|
||||
if (this.badge != null) {
|
||||
this.badge.setBadgeFromRecipient(recipient);
|
||||
}
|
||||
|
||||
if (this.about != null) {
|
||||
this.about.setText(about);
|
||||
|
||||
Reference in New Issue
Block a user