From 40d89a8641aa6c2138cbe475c9513a16d16b6730 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 5 Oct 2021 08:05:06 +0200 Subject: [PATCH] Show category bold if date bold --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 033d1e22a7..755afaa549 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -763,8 +763,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE); tvDate.setVisibility(dh ? View.VISIBLE : View.GONE); - if (ch) + if (ch) { tvCategory.setText(message.accountCategory); + if (date_bold) + tvCategory.setTypeface(Typeface.DEFAULT_BOLD); + } if (dh) { tvDate.setTextSize(TypedValue.COMPLEX_UNIT_PX, Helper.getTextSize(parent.getContext(), adapter.getZoom()));