Skip to content

Commit

Permalink
modify questTypeAchievements property
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Mar 30, 2022
1 parent 7cecce3 commit f043440
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import de.westnordost.streetcomplete.data.osm.mapdata.MapDataWithGeometry
import de.westnordost.streetcomplete.data.osm.mapdata.filter
import de.westnordost.streetcomplete.data.osm.osmquests.OsmFilterQuestType
import de.westnordost.streetcomplete.data.osm.osmquests.Tags
import de.westnordost.streetcomplete.data.user.achievements.QuestTypeAchievement.BICYCLIST
import de.westnordost.streetcomplete.data.user.achievements.QuestTypeAchievement.LIFESAVER
import de.westnordost.streetcomplete.quests.YesNoQuestAnswerFragment
import de.westnordost.streetcomplete.util.ktx.toYesNo

Expand All @@ -22,7 +22,7 @@ class AddIsDefibrillatorIndoor : OsmFilterQuestType<Boolean>() {
override val wikiLink = "Key:indoor"
override val icon = R.drawable.ic_quest_defibrillator
override val isDeleteElementEnabled = true
override val questTypeAchievements = listOf(BICYCLIST)
override val questTypeAchievements = listOf(LIFESAVER)

override fun getTitle(tags: Map<String, String>) = R.string.quest_bicycleParkingCoveredStatus_title

Expand Down

0 comments on commit f043440

Please sign in to comment.