aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ManageAccountActivity.java
diff options
context:
space:
mode:
authorAlethea Butler <alethea@alethea.io>2014-05-30 23:41:44 -0400
committerAlethea Butler <alethea@alethea.io>2014-05-30 23:41:44 -0400
commit0edfd3619530f3ded673746d252b766c3001134e (patch)
treee69f30bd0c7ab5acb5ebbf35a5e35a46b1352fe4 /src/eu/siacs/conversations/ui/ManageAccountActivity.java
parent78686e9bce44d6279cb1475945309325888f0fc3 (diff)
Up button goes to contacts after initial setup
Diffstat (limited to 'src/eu/siacs/conversations/ui/ManageAccountActivity.java')
-rw-r--r--src/eu/siacs/conversations/ui/ManageAccountActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ManageAccountActivity.java b/src/eu/siacs/conversations/ui/ManageAccountActivity.java
index eae1196b7..6fd87473c 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;
}