mark overridden senders in quotes

if the original author of a quote is shown
and known to be overridden,
that should be marked with the character '~'
as for the normal names,
esp. as they are look very similar otherwise,
eg. also bold, also colored.
the missing '~' looks like a bug here.

successor of #1808
This commit is contained in:
B. Petersen 2021-03-05 12:28:39 +01:00 committed by bjoern
parent b577dab834
commit c99a1809a1

View file

@ -160,7 +160,7 @@ public class QuoteView extends FrameLayout implements RecipientForeverObserver {
quoteBarView.setBackgroundColor(getForwardedColor());
} else {
authorView.setVisibility(VISIBLE);
authorView.setText(quotedMsg.getSenderName(contact, false));
authorView.setText(quotedMsg.getSenderName(contact, true));
authorView.setTextColor(Util.rgbToArgbColor(contact.getColor()));
quoteBarView.setBackgroundColor(Util.rgbToArgbColor(contact.getColor()));
}