mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -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:
|
case R.id.menu_api_settings_revoke:
|
||||||
revokeAccess();
|
revokeAccess();
|
||||||
return true;
|
return true;
|
||||||
case R.id.menu_api_settings_cancel:
|
|
||||||
finish();
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@
|
|||||||
android:id="@+id/menu_api_settings_revoke"
|
android:id="@+id/menu_api_settings_revoke"
|
||||||
android:title="@string/api_settings_revoke"
|
android:title="@string/api_settings_revoke"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
<item
|
|
||||||
android:id="@+id/menu_api_settings_cancel"
|
|
||||||
android:title="@string/api_settings_cancel"
|
|
||||||
app:showAsAction="never" />
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
Loading…
Reference in New Issue
Block a user