mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 15:10:47 +01:00
Revert "Set seen/unseen content description on item view"
This reverts commit 45eb7fb118.
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user