diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 6 | ||||
-rw-r--r-- | src/main/res/menu/conversations.xml | 2 |
2 files changed, 6 insertions, 2 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(); diff --git a/src/main/res/menu/conversations.xml b/src/main/res/menu/conversations.xml index 8754f869c..7155b8ce5 100644 --- a/src/main/res/menu/conversations.xml +++ b/src/main/res/menu/conversations.xml @@ -62,7 +62,7 @@ android:id="@+id/action_accounts" android:orderInCategory="90" android:showAsAction="never" - android:title="@string/action_accounts"/> + android:title="@string/mgmt_account_edit"/> <item android:id="@+id/action_settings" android:orderInCategory="100" |