Remove cancel from app menu

This commit is contained in:
Dominik Schürmann 2014-03-30 19:29:07 +02:00
parent 583467356c
commit 224e8a7554
2 changed files with 0 additions and 7 deletions

View File

@ -80,9 +80,6 @@ public class AppSettingsActivity extends ActionBarActivity {
case R.id.menu_api_settings_revoke:
revokeAccess();
return true;
case R.id.menu_api_settings_cancel:
finish();
return true;
}
return super.onOptionsItemSelected(item);
}

View File

@ -6,9 +6,5 @@
android:id="@+id/menu_api_settings_revoke"
android:title="@string/api_settings_revoke"
app:showAsAction="never" />
<item
android:id="@+id/menu_api_settings_cancel"
android:title="@string/api_settings_cancel"
app:showAsAction="never" />
</menu>