Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47469223 authored by GitStart's avatar GitStart Committed by cketti
Browse files

Add "unread" to content description in message list

This should improve the experience for people using screen readers.
parent fdc9052a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -414,7 +414,10 @@ class MessageListAdapter internal constructor(
            } else {
                holder.subject.text = subject
            }

            if (!isRead) {
                holder.subject.contentDescription =
                    "${res.getString(R.string.unread_mail)} ${holder.subject.text}"
            }
            holder.date.typeface = Typeface.create(holder.date.typeface, maybeBoldTypeface)
            holder.date.setTextColor(textColor)
            holder.date.text = displayDate
+2 −0
Original line number Diff line number Diff line
@@ -1341,4 +1341,6 @@ You can keep this message and use it as a backup for your secret key. If you wan

    <!-- Might be displayed in a notification when deleting an account (in the background) -->
    <string name="background_work_notification_remove_account">Removing account…</string>

    <string name="unread_mail">Unread mail</string>
</resources>