fixed content description for previous ViewHolder refactor

This commit is contained in:
Daniel Gultsch 2017-11-23 20:32:51 +01:00
parent 333e7a6510
commit 9381c1d3e2
1 changed files with 1 additions and 1 deletions

View File

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