Change operations info icon

pull/199/head
M66B 4 years ago
parent 6b7ed17ccc
commit 87e09299e9

@ -112,8 +112,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_help) { if (itemId == R.id.menu_info) {
onMenuHelp(); onMenuInfo();
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");
@ -122,7 +122,7 @@ public class FragmentOperations extends FragmentBase {
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
private void onMenuHelp() { private void onMenuInfo() {
Helper.viewFAQ(getContext(), 3); Helper.viewFAQ(getContext(), 3);
} }

@ -2,9 +2,9 @@
<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_help" android:id="@+id/menu_info"
android:icon="@drawable/twotone_help_24" android:icon="@drawable/twotone_info_24"
android:title="" android:title="@string/title_info"
app:showAsAction="always" /> app:showAsAction="always" />
<item <item

Loading…
Cancel
Save