mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-19 15:14:28 +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)
|
setOnlineStateColor(holder)
|
||||||
holder.binding.nameText.text = model.displayName
|
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()) {
|
if (adapter!!.hasFilter()) {
|
||||||
viewThemeUtils.talk.themeAndHighlightText(
|
viewThemeUtils.talk.themeAndHighlightText(
|
||||||
holder.binding.nameText,
|
holder.binding.nameText,
|
||||||
|
|
Loading…
Reference in a new issue