mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-17 01:35:03 +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);
|
holder.binding.videoCallIcon.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (holder.binding.secondaryText != null) {
|
|
||||||
String userType = "";
|
String userType = "";
|
||||||
|
|
||||||
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
||||||
@ -254,7 +253,6 @@ public class ParticipantItem extends AbstractFlexibleItem<ParticipantItem.Partic
|
|||||||
holder.binding.secondaryText.setText("(" + userType + ")");
|
holder.binding.secondaryText.setText("(" + userType + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void drawStatus(ParticipantItemViewHolder holder) {
|
private void drawStatus(ParticipantItemViewHolder holder) {
|
||||||
float size = DisplayUtils.convertDpToPixel(STATUS_SIZE_IN_DP, context);
|
float size = DisplayUtils.convertDpToPixel(STATUS_SIZE_IN_DP, context);
|
||||||
|
Loading…
Reference in New Issue
Block a user