Skip to content

Commit

Permalink
Use disused:shop instead of shop=vacant
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Apr 9, 2021
1 parent 891af60 commit 682ba32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface OsmElementQuestType<T> : QuestType<T> {
* - to be part of a(nother) way
* - to house a second POI on the same element
* - to be a kind of element where deletion is not recommended, (f.e. a shop should rather
* be set to shop=vacant until there is another one)
* be set to disused:shop=yes until there is another one)
* ...should be deletable */
val isDeleteElementEnabled: Boolean get() = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ShopGoneDialog(
getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener {
when (selectedRadioButtonId) {
R.id.vacantRadioButton -> {
onSelectedFeature(mapOf("shop" to "vacant"))
onSelectedFeature(mapOf("disused:shop" to "yes"))
dismiss()
}
R.id.replaceRadioButton -> {
Expand Down

0 comments on commit 682ba32

Please sign in to comment.