|
|
|
@ -116,6 +116,9 @@ public class FragmentOperations extends FragmentBase {
|
|
|
|
|
if (itemId == R.id.menu_help) {
|
|
|
|
|
onMenuHelp();
|
|
|
|
|
return true;
|
|
|
|
|
} else if (itemId == R.id.menu_force_reload) {
|
|
|
|
|
onMenuForceReload();
|
|
|
|
|
return true;
|
|
|
|
|
} else if (itemId == R.id.menu_delete) {
|
|
|
|
|
new FragmentDialogDelete().show(getParentFragmentManager(), "operations:delete");
|
|
|
|
|
return true;
|
|
|
|
@ -127,6 +130,10 @@ public class FragmentOperations extends FragmentBase {
|
|
|
|
|
Helper.viewFAQ(getContext(), 3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void onMenuForceReload() {
|
|
|
|
|
ServiceSynchronize.reload(getContext(), null, true, "operations");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class FragmentDialogDelete extends FragmentDialogBase {
|
|
|
|
|
@NonNull
|
|
|
|
|
@Override
|
|
|
|
|