From 756433648af92b17e319c01b85f815b24766c114 Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Thu, 18 Nov 2021 00:37:40 +0100 Subject: [PATCH] better fitting icon for bicycle barrier quest --- .../AddBicycleBarrierType.kt | 2 +- .../res/drawable/ic_quest_bicycle_barrier.xml | 31 ------------------ .../res/drawable/ic_quest_no_bicycles.xml | 32 +++++++++++++++++++ res/graphics/authors.txt | 1 + res/graphics/quest icons/bicycle_barrier.svg | 10 ------ res/graphics/quest icons/no_bicycles.svg | 11 +++++++ 6 files changed, 45 insertions(+), 42 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_quest_bicycle_barrier.xml create mode 100644 app/src/main/res/drawable/ic_quest_no_bicycles.xml delete mode 100644 res/graphics/quest icons/bicycle_barrier.svg create mode 100644 res/graphics/quest icons/no_bicycles.svg diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/barrier_bicycle_barrier_type/AddBicycleBarrierType.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/barrier_bicycle_barrier_type/AddBicycleBarrierType.kt index 3a5f84a532..215f9be662 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/barrier_bicycle_barrier_type/AddBicycleBarrierType.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/barrier_bicycle_barrier_type/AddBicycleBarrierType.kt @@ -12,7 +12,7 @@ class AddBicycleBarrierType : OsmFilterQuestType() { override val elementFilter = "nodes with barrier = cycle_barrier and !cycle_barrier" override val commitMessage = "Add specific cycle barrier type" override val wikiLink = "Key:cycle_barrier" - override val icon = R.drawable.ic_quest_bicycle_barrier + override val icon = R.drawable.ic_quest_no_bicycles override val isDeleteElementEnabled = true override val questTypeAchievements = listOf(BLIND, WHEELCHAIR, BICYCLIST) diff --git a/app/src/main/res/drawable/ic_quest_bicycle_barrier.xml b/app/src/main/res/drawable/ic_quest_bicycle_barrier.xml deleted file mode 100644 index a7d34b74f3..0000000000 --- a/app/src/main/res/drawable/ic_quest_bicycle_barrier.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_quest_no_bicycles.xml b/app/src/main/res/drawable/ic_quest_no_bicycles.xml new file mode 100644 index 0000000000..30b8c77507 --- /dev/null +++ b/app/src/main/res/drawable/ic_quest_no_bicycles.xml @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/res/graphics/authors.txt b/res/graphics/authors.txt index b375734fcf..f4129dd1df 100644 --- a/res/graphics/authors.txt +++ b/res/graphics/authors.txt @@ -253,6 +253,7 @@ quest icons/ motorcycle_parking_capacity.svg motorcycle_parking_cover.svg museum.svg + no_bicycle.svg no_pedestrians.svg note_create.svg notes.svg diff --git a/res/graphics/quest icons/bicycle_barrier.svg b/res/graphics/quest icons/bicycle_barrier.svg deleted file mode 100644 index be337f67dd..0000000000 --- a/res/graphics/quest icons/bicycle_barrier.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/res/graphics/quest icons/no_bicycles.svg b/res/graphics/quest icons/no_bicycles.svg new file mode 100644 index 0000000000..d050a38671 --- /dev/null +++ b/res/graphics/quest icons/no_bicycles.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +