Read receipt: Improve accessibility
This commit is contained in:
parent
0a9c06ebcf
commit
84f61170d8
2 changed files with 38 additions and 1 deletions
|
|
@ -58,3 +58,7 @@ data class AvatarData(
|
|||
.uppercase()
|
||||
}
|
||||
}
|
||||
|
||||
fun AvatarData.getBestName(): String {
|
||||
return name?.takeIf { it.isNotEmpty() } ?: id
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue