Fix display name bug

This commit is contained in:
nielsandriesse 2020-09-18 15:01:20 +10:00
parent 45a9a42030
commit a162f7f13e

View File

@ -90,7 +90,7 @@ class UserView : LinearLayout {
actionIndicatorImageView.setImageResource(R.drawable.ic_baseline_edit_24)
profilePictureView.glide = glide
profilePictureView.update()
nameTextView.text = getUserDisplayName(address)
nameTextView.text = if (user.isGroupRecipient) user.name else getUserDisplayName(address)
when (actionIndicator) {
ActionIndicator.None -> {
actionIndicatorImageView.visibility = View.GONE