diff --git a/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java b/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java index e28c7aa40c..736c374604 100644 --- a/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java +++ b/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java @@ -406,7 +406,6 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe private void initViews(View view) { final View categoryBlock = view.findViewById(R.id.category); - categoryBlock.setOnClickListener(this); // TODO show icon and fill it when core will implement that UiUtils.hide(categoryBlock.findViewById(R.id.icon)); mCategory = categoryBlock.findViewById(R.id.name); @@ -536,8 +535,6 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe mParent.editStreet(); else if (id == R.id.block_cuisine) mParent.editCuisine(); - else if (id == R.id.category) - mParent.editCategory(); else if (id == R.id.more_names || id == R.id.show_additional_names) { if (!mNamesAdapter.areAdditionalLanguagesShown() || validateNames()) diff --git a/android/app/src/main/java/app/organicmaps/editor/EditorHostFragment.java b/android/app/src/main/java/app/organicmaps/editor/EditorHostFragment.java index 680152967a..bbf000e272 100644 --- a/android/app/src/main/java/app/organicmaps/editor/EditorHostFragment.java +++ b/android/app/src/main/java/app/organicmaps/editor/EditorHostFragment.java @@ -261,16 +261,6 @@ public class EditorHostFragment extends BaseMwmToolbarFragment implements View.O .commit(); } - protected void editCategory() - { - if (!mIsNewObject) - return; - - final Activity host = requireActivity(); - host.finish(); - startActivity(new Intent(host, FeatureCategoryActivity.class)); - } - private void showSearchControls(boolean showSearch) { ((SearchToolbarController) getToolbarController()).showSearchControls(showSearch); diff --git a/android/app/src/main/res/layout/fragment_editor.xml b/android/app/src/main/res/layout/fragment_editor.xml index a72e529994..d5603d7490 100644 --- a/android/app/src/main/res/layout/fragment_editor.xml +++ b/android/app/src/main/res/layout/fragment_editor.xml @@ -26,7 +26,7 @@ style="@style/MwmWidget.Editor.CardView">