Do not display Sent status for ChatMessage
This commit is contained in:
parent
b3d43dd93d
commit
ebf38eb690
2 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@
|
|||
|
||||
<ProgressBar
|
||||
android:id="@+id/inprogress"
|
||||
android:progressTint="@color/colorA"
|
||||
android:progressTint="@color/colorB"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:paddingRight="5dp"
|
||||
|
|
|
@ -181,10 +181,10 @@ public class ChatEventsAdapter extends ListSelectionAdapter implements ChatMessa
|
|||
}
|
||||
|
||||
if (status == ChatMessage.State.Delivered) {
|
||||
holder.imdmLayout.setVisibility(View.VISIBLE);
|
||||
/*holder.imdmLayout.setVisibility(View.VISIBLE);
|
||||
holder.imdmLabel.setText(R.string.sent);
|
||||
holder.imdmIcon.setImageResource(R.drawable.chat_delivered);
|
||||
holder.imdmLabel.setTextColor(mContext.getResources().getColor(R.color.colorD));
|
||||
holder.imdmLabel.setTextColor(mContext.getResources().getColor(R.color.colorD));*/
|
||||
} else if (status == ChatMessage.State.DeliveredToUser) {
|
||||
holder.imdmLayout.setVisibility(View.VISIBLE);
|
||||
holder.imdmIcon.setImageResource(R.drawable.chat_delivered);
|
||||
|
|
Loading…
Reference in a new issue