mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Read receipt: Improve accessibility
This commit is contained in:
committed by
Benoit Marty
parent
3ec5c0c52b
commit
d1df0e47f1
+4
@@ -58,3 +58,7 @@ data class AvatarData(
|
||||
.uppercase()
|
||||
}
|
||||
}
|
||||
|
||||
fun AvatarData.getBestName(): String {
|
||||
return name?.takeIf { it.isNotEmpty() } ?: id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user