mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Show username in all display name locations if only option.
This commit is contained in:
committed by
Alex Hart
parent
c10c64a6a6
commit
5b2c458bcf
@@ -1584,7 +1584,7 @@ final class GroupsV2UpdateMessageProducer {
|
||||
String beforeChunk = template.substring(startIndex, nearestPosition);
|
||||
|
||||
builder.append(beforeChunk);
|
||||
builder.append(SpanUtil.clickable(Recipient.resolved(recipientId).getDisplayNameOrUsername(context), ContextCompat.getColor(context, R.color.conversation_item_update_text_color), v -> {
|
||||
builder.append(SpanUtil.clickable(Recipient.resolved(recipientId).getDisplayName(context), ContextCompat.getColor(context, R.color.conversation_item_update_text_color), v -> {
|
||||
if (!recipientId.isUnknown() && clickHandler != null) {
|
||||
clickHandler.accept(recipientId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user