diff --git a/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java b/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java index f79ed30035..30c50dd7b8 100644 --- a/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java +++ b/app/src/main/java/eu/faircode/email/WidgetUnifiedRemoteViewsFactory.java @@ -287,6 +287,10 @@ public class WidgetUnifiedRemoteViewsFactory implements RemoteViewsService.Remot Log.e(ex); } + views.setTextViewText(R.id.tvNotes, message.notes); + views.setTextColor(R.id.tvNotes, message.notes_color == null ? colorWidgetRead : message.notes_color); + views.setViewVisibility(R.id.tvNotes, message.notes == null ? View.GONE : View.VISIBLE); + views.setViewVisibility(R.id.separator, separators ? View.VISIBLE : View.GONE); views.setViewVisibility(idAccount, account < 0 && !allColors ? View.VISIBLE : View.GONE); diff --git a/app/src/main/res/layout/item_widget_unified.xml b/app/src/main/res/layout/item_widget_unified.xml index 0727ddff18..15fdb070d8 100644 --- a/app/src/main/res/layout/item_widget_unified.xml +++ b/app/src/main/res/layout/item_widget_unified.xml @@ -88,6 +88,14 @@ android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textColor="?android:textColorPrimary" /> + +