diff options
author | Christian S <christian@pix-art.de> | 2016-05-05 18:43:43 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2016-05-05 18:43:43 +0200 |
commit | 957c8f87932412fac17e09c6a5e002de2ebffb87 (patch) | |
tree | 9443ecb690b9576a629e643a9c0906818a1a1560 /src/main/java/eu | |
parent | a78aeea3103a4471039ded45f475c8d6eeab5b62 (diff) |
go directly to the user account via menu
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index cf821eb08..e54596b0d 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -345,7 +345,11 @@ public abstract class XmppActivity extends Activity { startActivity(new Intent(this, UpdaterActivity.class)); break; case R.id.action_accounts: - startActivity(new Intent(this, ManageAccountActivity.class)); + final Intent intent = new Intent(getApplicationContext(), EditAccountActivity.class); + Account mAccount = xmppConnectionService.getAccounts().get(0); + intent.putExtra("jid", mAccount.getJid().toBareJid().toString()); + intent.putExtra("init", false); + startActivity(intent); break; case android.R.id.home: finish(); |