mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-16 13:55:03 -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:
|
case R.id.menu_account_settings_delete:
|
||||||
deleteAccount();
|
deleteAccount();
|
||||||
return true;
|
return true;
|
||||||
case R.id.menu_account_settings_cancel:
|
|
||||||
finish();
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@
|
|||||||
android:id="@+id/menu_account_settings_delete"
|
android:id="@+id/menu_account_settings_delete"
|
||||||
android:title="@string/api_settings_delete_account"
|
android:title="@string/api_settings_delete_account"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
<item
|
|
||||||
android:id="@+id/menu_account_settings_cancel"
|
|
||||||
android:title="@string/api_settings_cancel"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
Loading…
Reference in New Issue
Block a user