fixed settings opening twice from manage accounts activity

This commit is contained in:
Daniel Gultsch 2014-03-25 18:38:20 +01:00
parent 956b646e2a
commit 39c651a236

View file

@ -397,9 +397,6 @@ public class ManageAccountActivity extends XmppActivity {
@Override @Override
public boolean onOptionsItemSelected(MenuItem item) { public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) { switch (item.getItemId()) {
case R.id.action_settings:
startActivity(new Intent(this, SettingsActivity.class));
break;
case R.id.action_add_account: case R.id.action_add_account:
addAccount(); addAccount();
break; break;