diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-05-12 03:56:13 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-05-12 03:56:13 +0200 |
commit | fe5c4cab4608a6b3ded682f4a69da14916cc1d37 (patch) | |
tree | 61afa35b00cbcf789012d814c2b210de07e16ace /src/main/java | |
parent | ceadf2f6fb67666abb0d8f9b84a91841396cfc0a (diff) |
don't reinit conversation when coming back to activity. avoids unnecessary scrolling
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index b11ff002..6e175d8e 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -927,9 +927,7 @@ public class ConversationActivity extends XmppActivity } this.mConversationFragment.reInit(getSelectedConversation()); mOpenConverstaion = null; - } else if (getSelectedConversation() != null) { - this.mConversationFragment.reInit(getSelectedConversation()); - } else { + } else if (getSelectedConversation() == null) { showConversationsOverview(); mPendingImageUris.clear(); mPendingFileUris.clear(); |