mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-12 12:03:17 +02:00
Small improvement
This commit is contained in:
@@ -911,7 +911,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
if (tvPreview.getTag() == null || (int) tvPreview.getTag() != textColor) {
|
||||
tvPreview.setTag(textColor);
|
||||
tvPreview.setTextColor(textColor);
|
||||
tvPreview.setMaxLines(preview_lines);
|
||||
if (preview_lines == 1)
|
||||
tvPreview.setSingleLine(true);
|
||||
else
|
||||
tvPreview.setMaxLines(preview_lines);
|
||||
}
|
||||
tvPreview.setTypeface(
|
||||
monospaced ? Typeface.MONOSPACE : Typeface.DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user