Fix inconsistent text scaling in quotes.

Fixes #10188
This commit is contained in:
Max Ullinger
2021-01-13 21:54:49 +01:00
committed by Cody Henthorne
parent bece58d939
commit c54f016213
2 changed files with 5 additions and 0 deletions

View File

@@ -1105,6 +1105,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
//noinspection ConstantConditions
quoteView.setQuote(glideRequests, quote.getId(), Recipient.live(quote.getAuthor()).get(), quote.getDisplayText(), quote.isOriginalMissing(), quote.getAttachment(), chatColors);
quoteView.setVisibility(View.VISIBLE);
quoteView.setTextSize(TypedValue.COMPLEX_UNIT_SP, SignalStore.settings().getMessageFontSize());
quoteView.getLayoutParams().width = ViewGroup.LayoutParams.WRAP_CONTENT;
quoteView.setOnClickListener(view -> {