fixed content description for previous ViewHolder refactor
This commit is contained in:
parent
333e7a6510
commit
9381c1d3e2
|
@ -104,7 +104,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
|
||||||
if (showPreviewText) {
|
if (showPreviewText) {
|
||||||
viewHolder.lastMessage.setText(EmojiWrapper.transform(preview.first));
|
viewHolder.lastMessage.setText(EmojiWrapper.transform(preview.first));
|
||||||
} else {
|
} else {
|
||||||
viewHolder.lastMessage.setContentDescription(preview.first);
|
viewHolder.lastMessageIcon.setContentDescription(preview.first);
|
||||||
}
|
}
|
||||||
viewHolder.lastMessage.setVisibility(showPreviewText ? View.VISIBLE : View.GONE);
|
viewHolder.lastMessage.setVisibility(showPreviewText ? View.VISIBLE : View.GONE);
|
||||||
viewHolder.lastImage.setVisibility(View.GONE);
|
viewHolder.lastImage.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in a new issue