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

This reverts commit 45eb7fb118.
This commit is contained in:
M66B 2019-12-22 20:49:09 +01:00
parent 45eb7fb118
commit e8ae7dfd98
3 changed files with 3 additions and 5 deletions

View File

@ -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);

View File

@ -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" />

View File

@ -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" />