mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +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
@@ -93,7 +93,7 @@ sealed class NotificationItem(val threadRecipient: Recipient, protected val reco
|
||||
context.getString(R.string.SingleRecipientNotificationBuilder_new_message)
|
||||
} else {
|
||||
SpannableStringBuilder().apply {
|
||||
append(Util.getBoldedString(authorRecipient.getShortDisplayNameIncludingUsername(context)))
|
||||
append(Util.getBoldedString(authorRecipient.getShortDisplayName(context)))
|
||||
if (threadRecipient != authorRecipient) {
|
||||
append(Util.getBoldedString("@${threadRecipient.getDisplayName(context)}"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user