mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-19 07:02:04 +03:00
fix empty guest names in conversation info list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b3b525bbc2
commit
41927d2593
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ class ParticipantItem(
|
|||
setOnlineStateColor(holder)
|
||||
holder.binding.nameText.text = model.displayName
|
||||
|
||||
if (model.type == Participant.ParticipantType.GUEST && model.displayName.isNullOrBlank()) {
|
||||
holder.binding.nameText.text = sharedApplication!!.getString(R.string.nc_guest)
|
||||
}
|
||||
|
||||
if (adapter!!.hasFilter()) {
|
||||
viewThemeUtils.talk.themeAndHighlightText(
|
||||
holder.binding.nameText,
|
||||
|
|
Loading…
Reference in a new issue