Up button goes to contacts after initial setup
This commit is contained in:
parent
78686e9bce
commit
0edfd36195
|
@ -398,6 +398,12 @@ public class ManageAccountActivity extends XmppActivity {
|
|||
case R.id.action_add_account:
|
||||
addAccount();
|
||||
break;
|
||||
case android.R.id.home:
|
||||
if (xmppConnectionService.getConversations().size() == 0) {
|
||||
startActivity(new Intent(getApplicationContext(),
|
||||
ContactsActivity.class));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue