diff options
author | Michael <betheg@bitcloner.org> | 2014-08-28 16:49:52 +0200 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-08-28 16:49:52 +0200 |
commit | 98dabe9ab488ab92ff255cb04feaaddad6488c12 (patch) | |
tree | 9b86c0954eb100571061878c41f27c1919411bb8 | |
parent | 85b31b8d8b5c553d0126fcc7938abd096433f035 (diff) |
fix forgotten spelling.
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java index 2452a555..0ab28a65 100644 --- a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -34,7 +34,7 @@ import android.widget.Toast; public class MessageAdapter extends ArrayAdapter<Message> { private static final int SENT = 0; - private static final int RECIEVED = 1; + private static final int RECEIVED = 1; private static final int STATUS = 2; private ConversationActivity activity; @@ -82,7 +82,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { if (getItem(position).getType() == Message.TYPE_STATUS) { return STATUS; } else if (getItem(position).getStatus() <= Message.STATUS_RECEIVED) { - return RECIEVED; + return RECEIVED; } else { return SENT; } @@ -319,7 +319,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { .findViewById(R.id.message_time); view.setTag(viewHolder); break; - case RECIEVED: + case RECEIVED: view = (View) activity.getLayoutInflater().inflate( R.layout.message_received, parent, false); viewHolder.message_box = (LinearLayout) view @@ -386,7 +386,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { return view; } - if (type == RECIEVED) { + if (type == RECEIVED) { if (item.getConversation().getMode() == Conversation.MODE_MULTI) { Contact contact = item.getContact(); if (contact != null) { |