mirror of https://github.com/M66B/FairEmail.git
Change operations info icon
This commit is contained in:
parent
6b7ed17ccc
commit
87e09299e9
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue