Fixed typeface warnings on some Samsung devices

This commit is contained in:
M66B
2019-05-30 10:05:54 +02:00
parent 16bea88b20
commit ff0b4a2dc4
3 changed files with 18 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
else
tvName.setText(account.name);
tvName.setTypeface(null, account.unseen > 0 ? Typeface.BOLD : Typeface.NORMAL);
tvName.setTypeface(account.unseen > 0 ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT);
tvName.setTextColor(account.unseen > 0 ? colorUnread : textColorSecondary);
}