From 11322f1b3e931b07623cd37d406507c7d7fcc0cf Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 10 Apr 2020 17:21:57 +0200 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/Widget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Widget.java b/app/src/main/java/eu/faircode/email/Widget.java index 274047eaf5..c9d8b72d08 100644 --- a/app/src/main/java/eu/faircode/email/Widget.java +++ b/app/src/main/java/eu/faircode/email/Widget.java @@ -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);