mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Fix NPE
(cherry picked from commit 2352703186274721998f0369af259b7cc27fa214)
This commit is contained in:
parent
7fb4a13ea3
commit
781251f550
1 changed files with 1 additions and 0 deletions
|
@ -4378,6 +4378,7 @@ public class ConversationFragment extends XmppFragment
|
|||
}
|
||||
storeNextMessage();
|
||||
updateChatMsgHint();
|
||||
if (activity == null) return;
|
||||
SharedPreferences p = PreferenceManager.getDefaultSharedPreferences(activity);
|
||||
final boolean prefScrollToBottom =
|
||||
p.getBoolean(
|
||||
|
|
Loading…
Reference in a new issue