mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-12 14:08:24 -05:00
Remove cancel from app menu
This commit is contained in:
parent
7b53150ad5
commit
3c0b97f280
@ -82,9 +82,6 @@ public class AccountSettingsActivity extends ActionBarActivity {
|
||||
case R.id.menu_account_settings_delete:
|
||||
deleteAccount();
|
||||
return true;
|
||||
case R.id.menu_account_settings_cancel:
|
||||
finish();
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
@ -6,9 +6,5 @@
|
||||
android:id="@+id/menu_account_settings_delete"
|
||||
android:title="@string/api_settings_delete_account"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/menu_account_settings_cancel"
|
||||
android:title="@string/api_settings_cancel"
|
||||
app:showAsAction="never" />
|
||||
|
||||
</menu>
|
Loading…
Reference in New Issue
Block a user