Change operations info icon

This commit is contained in:
M66B 2021-05-25 15:35:33 +02:00
parent 6b7ed17ccc
commit 87e09299e9
2 changed files with 6 additions and 6 deletions

View File

@ -112,8 +112,8 @@ public class FragmentOperations extends FragmentBase {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int itemId = item.getItemId();
if (itemId == R.id.menu_help) {
onMenuHelp();
if (itemId == R.id.menu_info) {
onMenuInfo();
return true;
} else if (itemId == R.id.menu_delete) {
new FragmentDialogDelete().show(getParentFragmentManager(), "operations:delete");
@ -122,7 +122,7 @@ public class FragmentOperations extends FragmentBase {
return super.onOptionsItemSelected(item);
}
private void onMenuHelp() {
private void onMenuInfo() {
Helper.viewFAQ(getContext(), 3);
}

View File

@ -2,9 +2,9 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menu_help"
android:icon="@drawable/twotone_help_24"
android:title=""
android:id="@+id/menu_info"
android:icon="@drawable/twotone_info_24"
android:title="@string/title_info"
app:showAsAction="always" />
<item