mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01:00
UI binding can never be null
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
9ae722659f
commit
b36195dc9a
@ -196,7 +196,6 @@ public class ParticipantItem extends AbstractFlexibleItem<ParticipantItem.Partic
|
||||
holder.binding.videoCallIcon.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (holder.binding.secondaryText != null) {
|
||||
String userType = "";
|
||||
|
||||
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
||||
@ -254,7 +253,6 @@ public class ParticipantItem extends AbstractFlexibleItem<ParticipantItem.Partic
|
||||
holder.binding.secondaryText.setText("(" + userType + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void drawStatus(ParticipantItemViewHolder holder) {
|
||||
float size = DisplayUtils.convertDpToPixel(STATUS_SIZE_IN_DP, context);
|
||||
|
Loading…
Reference in New Issue
Block a user