From 73fa196870949f20c9c4c8fc2a28d4f9d1893e9d Mon Sep 17 00:00:00 2001 From: Matija Nalis Date: Fri, 3 Nov 2023 12:05:38 +0100 Subject: [PATCH] try to fix compile error --- .../westnordost/streetcomplete/quests/bbq_fuel/AddBbqFuel.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bbq_fuel/AddBbqFuel.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bbq_fuel/AddBbqFuel.kt index 881394e0a0..1115c74b47 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bbq_fuel/AddBbqFuel.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bbq_fuel/AddBbqFuel.kt @@ -9,10 +9,7 @@ import de.westnordost.streetcomplete.data.osm.osmquests.OsmFilterQuestType import de.westnordost.streetcomplete.data.user.achievements.EditTypeAchievement.OUTDOORS import de.westnordost.streetcomplete.osm.Tags - - class AddBbqFuel : OsmFilterQuestType() { - override val elementFilter = """ nodes, ways with amenity = bbq @@ -37,7 +34,7 @@ class AddBbqFuel : OsmFilterQuestType() { tags.remove("amenity") tags["leisure"] = "firepit" } - else -> { + is BbqFuel -> { tags["fuel"] = answer.osmValue } }