File tree Expand file tree Collapse file tree
app/src/main/java/de/westnordost/streetcomplete/overlays/things Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import de.westnordost.streetcomplete.overlays.IAnswerItem
2323import de.westnordost.streetcomplete.util.DummyFeature
2424import de.westnordost.streetcomplete.util.getLocalesForFeatureDictionary
2525import de.westnordost.streetcomplete.util.getLocationLabel
26+ import de.westnordost.streetcomplete.util.getNameAndLocationLabel
2627import de.westnordost.streetcomplete.util.ktx.geometryType
2728import de.westnordost.streetcomplete.view.controller.FeatureViewController
2829import de.westnordost.streetcomplete.view.dialogs.SearchFeaturesDialog
@@ -88,7 +89,7 @@ class ThingsOverlayForm : AbstractOverlayForm() {
8889 super .onViewCreated(view, savedInstanceState)
8990
9091 // title hint label with name is a duplication, it is displayed in the UI already
91- setTitleHintLabel(element?.tags?. let { getLocationLabel (it, resources) })
92+ setTitleHintLabel(element?.let { getNameAndLocationLabel (it, resources, null ) })
9293 setMarkerIcon(R .drawable.ic_quest_dot)
9394
9495 featureCtrl = FeatureViewController (featureDictionary, binding.featureTextView, binding.featureIconView)
You can’t perform that action at this time.
0 commit comments