From b8cce73649a8c61fba3786f6804a0bf8db9ae055 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 16 Feb 2017 20:58:27 +0100 Subject: add date bubble in chatlist fixes #104 --- src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/main/java/de/pixart/messenger/ui/adapter') diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index fa65b3af6..b71e98032 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -808,7 +808,6 @@ public class MessageAdapter extends ArrayAdapter implements CopyTextVie if (type == STATUS) { if ("LOAD_MORE".equals(message.getBody())) { viewHolder.status_message.setVisibility(View.GONE); - viewHolder.contact_picture.setVisibility(View.GONE); viewHolder.load_more_messages.setVisibility(View.VISIBLE); viewHolder.load_more_messages.setOnClickListener(new OnClickListener() { @Override @@ -818,14 +817,7 @@ public class MessageAdapter extends ArrayAdapter implements CopyTextVie }); } else { viewHolder.status_message.setVisibility(View.VISIBLE); - viewHolder.contact_picture.setVisibility(View.VISIBLE); viewHolder.load_more_messages.setVisibility(View.GONE); - if (conversation.getMode() == Conversation.MODE_SINGLE) { - viewHolder.contact_picture.setImageBitmap(activity - .avatarService().get(conversation.getContact(), - activity.getPixel(32))); - viewHolder.contact_picture.setAlpha(0.5f); - } viewHolder.status_message.setText(message.getBody()); } return view; -- cgit v1.2.3