mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 13:09:46 +01:00
Clean up
This commit is contained in:
parent
e2a74f53dc
commit
e13e964fd3
@ -211,12 +211,11 @@ public class UserItem extends AbstractFlexibleItem<UserItem.UserItemViewHolder>
|
|||||||
default:
|
default:
|
||||||
holder.voiceOrSimpleCallImageView.setVisibility(View.GONE);
|
holder.voiceOrSimpleCallImageView.setVisibility(View.GONE);
|
||||||
holder.videoCallImageView.setVisibility(View.GONE);
|
holder.videoCallImageView.setVisibility(View.GONE);
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
String userType = "";
|
String userType = "";
|
||||||
|
|
||||||
if (header == null) {
|
|
||||||
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
||||||
case 1:
|
case 1:
|
||||||
userType = NextcloudTalkApplication.getSharedApplication().getString(R.string.nc_owner);
|
userType = NextcloudTalkApplication.getSharedApplication().getString(R.string.nc_owner);
|
||||||
@ -234,7 +233,7 @@ public class UserItem extends AbstractFlexibleItem<UserItem.UserItemViewHolder>
|
|||||||
userType = NextcloudTalkApplication.getSharedApplication().getString(R.string.nc_following_link);
|
userType = NextcloudTalkApplication.getSharedApplication().getString(R.string.nc_following_link);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// do nothing
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
holder.contactMentionId.setText(userType);
|
holder.contactMentionId.setText(userType);
|
||||||
|
Loading…
Reference in New Issue
Block a user