aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-09 21:07:36 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-09 21:07:36 +0100
commit4c380a50d94f9b9488ac1955bb6474143b662511 (patch)
tree5d2bd44ff82494aa8f1205940f9a2e16867381cb
parent9bd33bc34d0700e6f30b1b0183be55444b7bccac (diff)
fix update of chatbubbles
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index 8f42e8d32..053db4545 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -1302,7 +1302,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
protected void updateDateBubbles() {
synchronized (this.messageList) {
- final int max = this.messageList.size();
+ int max = this.messageList.size();
if (max == 0 || (max <= 1 && showLoadMoreMessages(conversation))) {
this.messageList.add(0, Message.createDateMessage(conversation, getString(R.string.start_chatting)));
} else if ((max > 0 && !showLoadMoreMessages(conversation)) || (max > 1 && showLoadMoreMessages(conversation))) {