aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2017-11-23 20:32:51 +0100
committerDaniel Gultsch <daniel@gultsch.de>2017-11-23 20:32:51 +0100
commit9381c1d3e22f79a82cf74e77ef89ddf863933468 (patch)
tree19616c572a04541cd946e6232fd059e2dc53a0a4
parent333e7a6510ccdd6b7575372541c8cb15bb2fb9fe (diff)
fixed content description for previous ViewHolder refactor
-rw-r--r--src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
index 5f57548..dbb091b 100644
--- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
+++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
@@ -104,7 +104,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
if (showPreviewText) {
viewHolder.lastMessage.setText(EmojiWrapper.transform(preview.first));
} else {
- viewHolder.lastMessage.setContentDescription(preview.first);
+ viewHolder.lastMessageIcon.setContentDescription(preview.first);
}
viewHolder.lastMessage.setVisibility(showPreviewText ? View.VISIBLE : View.GONE);
viewHolder.lastImage.setVisibility(View.GONE);