diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-06 22:03:01 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-06 22:03:01 +0200 |
commit | b6f5e4a217e3eaf6be94bc5efae41273d27944bc (patch) | |
tree | 6e4d9e261c43d3d68807732bd3119ab1f3951a7b /src/eu/siacs/conversations/ui/ConversationFragment.java | |
parent | 315731b0cf9b15a5e749a7ea35b8770e4dc94e74 (diff) |
cleanung up the scroll fix a little
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 716e299e..928bb6f3 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -522,9 +522,7 @@ public class ConversationFragment extends Fragment { private void messageSent() { int size = this.messageList.size(); - if (size >= 1 && this.messagesView.getLastVisiblePosition() != size - 1) { - messagesView.setSelection(size - 1); - } + messagesView.setSelection(size - 1); mEditMessage.setText(""); updateChatMsgHint(); } |