From 0edfd3619530f3ded673746d252b766c3001134e Mon Sep 17 00:00:00 2001 From: Alethea Butler Date: Fri, 30 May 2014 23:41:44 -0400 Subject: Up button goes to contacts after initial setup --- src/eu/siacs/conversations/ui/ManageAccountActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/eu/siacs/conversations/ui/ManageAccountActivity.java b/src/eu/siacs/conversations/ui/ManageAccountActivity.java index eae1196b..6fd87473 100644 --- a/src/eu/siacs/conversations/ui/ManageAccountActivity.java +++ b/src/eu/siacs/conversations/ui/ManageAccountActivity.java @@ -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; } -- cgit v1.2.3