diff --git a/app/src/main/java/eu/faircode/email/Widget.java b/app/src/main/java/eu/faircode/email/Widget.java index d284e7b456..13f51d568d 100644 --- a/app/src/main/java/eu/faircode/email/Widget.java +++ b/app/src/main/java/eu/faircode/email/Widget.java @@ -68,6 +68,9 @@ public class Widget extends AppWidgetProvider { views.setOnClickPendingIntent(R.id.widget, pi); + views.setImageViewResource(R.id.ivMessage, unseen == 0 + ? R.drawable.baseline_mail_outline_24 + : R.drawable.baseline_mail_24); views.setTextViewText(R.id.tvCount, unseen < 100 ? nf.format(unseen) : "∞"); if (!TextUtils.isEmpty(name)) { diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index e74688aa82..09fe164d16 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -8,6 +8,7 @@ android:padding="6dp">