mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 08:28:50 -05:00
Remove cancel from app menu
This commit is contained in:
parent
583467356c
commit
224e8a7554
@ -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);
|
||||
}
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user