aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-08-31 15:56:41 +0200
committerDaniel Gultsch <daniel@gultsch.de>2014-08-31 15:56:41 +0200
commit8d456085e57334dc34707a49666006619e2c77c6 (patch)
tree60661e23627f9252002781c0ff9a710cbb1d1934 /src/eu
parent5ab025d008cd5b20301e4068f4af12d913e28dc3 (diff)
parent969cba5ee6fa74460d85930a627a685cd6876ca3 (diff)
Merge pull request #391 from betheg/fix_typo
fix forgotten spelling.
Diffstat (limited to 'src/eu')
-rw-r--r--src/eu/siacs/conversations/ui/adapter/MessageAdapter.java8
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 5e113042..48e1414b 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 static final int NULL = 3;
@@ -85,7 +85,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
} else if (getItem(position).getType() == Message.TYPE_STATUS) {
return STATUS;
} else if (getItem(position).getStatus() <= Message.STATUS_RECEIVED) {
- return RECIEVED;
+ return RECEIVED;
} else {
return SENT;
}
@@ -326,7 +326,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
@@ -393,7 +393,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) {