diff --git a/FAQ.md b/FAQ.md index 492cf2d054..9650ecce53 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2891,6 +2891,10 @@ For some background, see for [this Wikipedia article](https://en.wikipedia.org/w
+*Background for unread messages* + +
+ **(126) Can message previews be sent to my wearable?** diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index fb4234de80..6fa0885ff6 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -46,6 +46,7 @@ import android.graphics.Paint; import android.graphics.Rect; import android.graphics.Typeface; import android.graphics.drawable.AnimatedImageDrawable; +import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Build; @@ -223,6 +224,7 @@ public class AdapterMessage extends RecyclerView.Adapter languages; private static boolean debug; @@ -1388,6 +1391,9 @@ public class AdapterMessage extends RecyclerView.Adapter 0 ? drawableSeparator : null); + if (textSize != 0) { float fz_sender = (font_size_sender == null ? textSize : font_size_sender) * (message.unseen > 0 ? 1.1f : 1f); float fz_subject = (font_size_subject == null ? textSize : font_size_subject) * 0.9f; @@ -5328,6 +5334,8 @@ public class AdapterMessage extends RecyclerView.Adapter= Build.VERSION_CODES.N) { languages = new ArrayList<>(); LocaleList ll = context.getResources().getConfiguration().getLocales();