Skip to content

Commit

Permalink
show recycling material quest also for areas (fixes #5735)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jul 10, 2024
1 parent 453744f commit 30c5554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AddRecyclingContainerMaterials : OsmElementQuestType<RecyclingContainerMat
override fun getTitle(tags: Map<String, String>) = R.string.quest_recycling_materials_title

override fun getApplicableElements(mapData: MapDataWithGeometry): Iterable<Element> =
mapData.nodes.filter { isApplicableTo(it) }
mapData.filter { isApplicableTo(it) }

override fun isApplicableTo(element: Element): Boolean =
/* Only recycling containers that do either not have any recycling:* tag yet or
Expand Down

0 comments on commit 30c5554

Please sign in to comment.