Up button goes to contacts after initial setup

This commit is contained in:
Alethea Butler 2014-05-30 23:41:44 -04:00
parent 78686e9bce
commit 0edfd36195
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}