mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
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 New Issue
Block a user