mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
fixed null pointer issue
This commit is contained in:
parent
0b235171a8
commit
b966464324
@ -206,7 +206,7 @@ public class ConversationActivity extends XmppActivity {
|
||||
@Override
|
||||
public void onPanelClosed(View arg0) {
|
||||
paneShouldBeOpen = false;
|
||||
if (conversationList.size() > 0) {
|
||||
if ((conversationList.size() > 0)&&(getSelectedConversation()!=null)) {
|
||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getActionBar().setTitle(getSelectedConversation().getName(useSubject));
|
||||
invalidateOptionsMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user