mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
High contrast preview
This commit is contained in:
parent
484ee8eeab
commit
95a29a6225
1 changed files with 1 additions and 0 deletions
|
@ -689,6 +689,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
bindFlagged(message);
|
bindFlagged(message);
|
||||||
|
|
||||||
// Message text preview
|
// Message text preview
|
||||||
|
tvPreview.setTextColor(contrast ? textColorPrimary : textColorSecondary);
|
||||||
tvPreview.setTypeface(monospaced ? Typeface.MONOSPACE : Typeface.DEFAULT, Typeface.ITALIC);
|
tvPreview.setTypeface(monospaced ? Typeface.MONOSPACE : Typeface.DEFAULT, Typeface.ITALIC);
|
||||||
tvPreview.setText(message.preview);
|
tvPreview.setText(message.preview);
|
||||||
tvPreview.setVisibility(preview && !TextUtils.isEmpty(message.preview) ? View.VISIBLE : View.GONE);
|
tvPreview.setVisibility(preview && !TextUtils.isEmpty(message.preview) ? View.VISIBLE : View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue