Show category bold if date bold

This commit is contained in:
M66B 2021-10-05 08:05:06 +02:00
parent 94420dcf24
commit 40d89a8641
1 changed files with 4 additions and 1 deletions

View File

@ -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()));