mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Clean up
This commit is contained in:
parent
e2a74f53dc
commit
e13e964fd3
1 changed files with 3 additions and 4 deletions
|
@ -211,12 +211,11 @@ public class UserItem extends AbstractFlexibleItem<UserItem.UserItemViewHolder>
|
|||
default:
|
||||
holder.voiceOrSimpleCallImageView.setVisibility(View.GONE);
|
||||
holder.videoCallImageView.setVisibility(View.GONE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
String userType = "";
|
||||
String userType = "";
|
||||
|
||||
if (header == null) {
|
||||
switch (new EnumParticipantTypeConverter().convertToInt(participant.getType())) {
|
||||
case 1:
|
||||
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);
|
||||
break;
|
||||
default:
|
||||
// do nothing
|
||||
break;
|
||||
}
|
||||
|
||||
holder.contactMentionId.setText(userType);
|
||||
|
|
Loading…
Reference in a new issue