Operations help

pull/199/head
M66B 4 years ago
parent 6ae0d5480d
commit 582ab06573

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

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

Loading…
Cancel
Save