From 0daa12bf83f5173fc37b56b76530abb3c6c53d90 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Fri, 20 Oct 2023 17:29:38 +0200 Subject: [PATCH] Also show indoor label without house number For #5170, follow-up to a154cde4660ec179deb24f5f034785c5ac8b115f --- .../de/westnordost/streetcomplete/util/NameAndLocationLabel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt b/app/src/main/java/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt index 1bd60feca0..9382c4a278 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt @@ -67,7 +67,7 @@ private fun getLocationHtml( return if ((level != null || indoor != null) && houseNumber != null) { resources.getString(R.string.label_housenumber_location, houseNumber, level ?: indoor) } else { - level ?: houseNumber + level ?: indoor ?: houseNumber } }