mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Small fix
This commit is contained in:
parent
5cce6832a8
commit
11322f1b3e
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class Widget extends AppWidgetProvider {
|
|||
? R.drawable.baseline_mail_outline_24
|
||||
: R.drawable.baseline_mail_24);
|
||||
views.setTextViewText(R.id.tvCount, unseen < 100 ? nf.format(unseen) : "99+");
|
||||
views.setViewVisibility(R.id.tvCount, unseen == 0 ? View.GONE : View.VISIBLE);
|
||||
views.setViewVisibility(R.id.tvCount, layout == 1 && unseen == 0 ? View.GONE : View.VISIBLE);
|
||||
|
||||
if (!TextUtils.isEmpty(name)) {
|
||||
views.setTextViewText(R.id.tvAccount, name);
|
||||
|
|
Loading…
Reference in a new issue