Revert "Set seen/unseen content description on item view"

This reverts commit 45eb7fb118.
pull/170/head
M66B 5 years ago
parent 45eb7fb118
commit e8ae7dfd98

@ -721,9 +721,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
: message.uid == null && message.accountProtocol == EntityAccount.TYPE_IMAP)
? Helper.LOW_LIGHT : 1.0f);
view.setContentDescription(context.getString(
message.unseen > 0 ? R.string.title_accessibility_unseen : R.string.title_accessibility_seen));
// Duplicate
if (viewType == ViewType.THREAD) {
boolean dim = (message.duplicate || EntityFolder.TRASH.equals(message.folderType));
@ -780,6 +777,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
vwColor.setBackgroundColor(colorBackground);
}
vwColor.setContentDescription(context.getString(
message.unseen > 0 ? R.string.title_accessibility_unseen : R.string.title_accessibility_seen));
// Expander
if (ibExpander.getTag() == null || (boolean) ibExpander.getTag() != expanded) {
ibExpander.setTag(expanded);

@ -9,7 +9,6 @@
android:layout_width="6dp"
android:layout_height="0dp"
android:background="?attr/colorAccent"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="@+id/paddingBottom"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

@ -8,7 +8,6 @@
android:layout_width="6dp"
android:layout_height="0dp"
android:background="?attr/colorAccent"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="@+id/paddingBottom"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

Loading…
Cancel
Save