mirror of
https://github.com/moparisthebest/Conversations
synced 2025-02-25 23:31:51 -05:00
avoid weird npe. fixed #991
This commit is contained in:
parent
a8ec36cda8
commit
da2bc6db23
@ -321,7 +321,9 @@ public class ConversationFragment extends Fragment {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
activity.hideConversationsOverview();
|
if (activity != null) {
|
||||||
|
activity.hideConversationsOverview();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mEditMessage.setOnEditorActionListener(mEditorActionListener);
|
mEditMessage.setOnEditorActionListener(mEditorActionListener);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user