diff --git a/app/src/main/java/de/westnordost/streetcomplete/overlays/things/ThingsOverlayForm.kt b/app/src/main/java/de/westnordost/streetcomplete/overlays/things/ThingsOverlayForm.kt index a12487ca3d..5094691f7e 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/overlays/things/ThingsOverlayForm.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/overlays/things/ThingsOverlayForm.kt @@ -23,6 +23,7 @@ import de.westnordost.streetcomplete.overlays.IAnswerItem import de.westnordost.streetcomplete.util.DummyFeature import de.westnordost.streetcomplete.util.getLocalesForFeatureDictionary import de.westnordost.streetcomplete.util.getLocationLabel +import de.westnordost.streetcomplete.util.getNameAndLocationLabel import de.westnordost.streetcomplete.util.ktx.geometryType import de.westnordost.streetcomplete.view.controller.FeatureViewController import de.westnordost.streetcomplete.view.dialogs.SearchFeaturesDialog @@ -88,7 +89,7 @@ class ThingsOverlayForm : AbstractOverlayForm() { super.onViewCreated(view, savedInstanceState) // title hint label with name is a duplication, it is displayed in the UI already - setTitleHintLabel(element?.tags?.let { getLocationLabel(it, resources) }) + setTitleHintLabel(element?.let { getNameAndLocationLabel(it, resources, null) }) setMarkerIcon(R.drawable.ic_quest_dot) featureCtrl = FeatureViewController(featureDictionary, binding.featureTextView, binding.featureIconView)