mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
High contrast preview
This commit is contained in:
@@ -689,6 +689,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
bindFlagged(message);
|
||||
|
||||
// Message text preview
|
||||
tvPreview.setTextColor(contrast ? textColorPrimary : textColorSecondary);
|
||||
tvPreview.setTypeface(monospaced ? Typeface.MONOSPACE : Typeface.DEFAULT, Typeface.ITALIC);
|
||||
tvPreview.setText(message.preview);
|
||||
tvPreview.setVisibility(preview && !TextUtils.isEmpty(message.preview) ? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user