Rename candle location icon to place of worship
This commit is contained in:
parent
b8a1bcbd41
commit
5d411d0f0c
@ -287,7 +287,7 @@ interface Location : SavableSearchable {
|
|||||||
LocationIcon.Synagogue -> Icons.Rounded.Synagogue to R.color.brown
|
LocationIcon.Synagogue -> Icons.Rounded.Synagogue to R.color.brown
|
||||||
LocationIcon.HinduTemple -> Icons.Rounded.TempleHindu to R.color.brown
|
LocationIcon.HinduTemple -> Icons.Rounded.TempleHindu to R.color.brown
|
||||||
LocationIcon.BuddhistTemple -> Icons.Rounded.TempleBuddhist to R.color.brown
|
LocationIcon.BuddhistTemple -> Icons.Rounded.TempleBuddhist to R.color.brown
|
||||||
LocationIcon.Candle -> Icons.Rounded.Candle to R.color.brown
|
LocationIcon.PlaceOfWorship -> Icons.Rounded.Candle to R.color.brown
|
||||||
// bluegrey: public services
|
// bluegrey: public services
|
||||||
LocationIcon.GovernmentBuilding -> Icons.Rounded.AccountBalance to R.color.bluegrey
|
LocationIcon.GovernmentBuilding -> Icons.Rounded.AccountBalance to R.color.bluegrey
|
||||||
LocationIcon.Police -> Icons.Rounded.LocalPolice to R.color.bluegrey
|
LocationIcon.Police -> Icons.Rounded.LocalPolice to R.color.bluegrey
|
||||||
|
|||||||
@ -114,7 +114,7 @@ enum class LocationIcon {
|
|||||||
Synagogue,
|
Synagogue,
|
||||||
BuddhistTemple,
|
BuddhistTemple,
|
||||||
HinduTemple,
|
HinduTemple,
|
||||||
Candle,
|
PlaceOfWorship,
|
||||||
|
|
||||||
GovernmentBuilding,
|
GovernmentBuilding,
|
||||||
Police,
|
Police,
|
||||||
|
|||||||
@ -196,7 +196,7 @@ private fun Map<String, String>.categorize(context: Context): Pair<String?, Loca
|
|||||||
"buddhist" with (R.string.poi_category_buddhist_temple to LocationIcon.BuddhistTemple)
|
"buddhist" with (R.string.poi_category_buddhist_temple to LocationIcon.BuddhistTemple)
|
||||||
"hindu" with (R.string.poi_category_hindu_temple to LocationIcon.HinduTemple)
|
"hindu" with (R.string.poi_category_hindu_temple to LocationIcon.HinduTemple)
|
||||||
"jewish" with (R.string.poi_category_synagogue to LocationIcon.Synagogue)
|
"jewish" with (R.string.poi_category_synagogue to LocationIcon.Synagogue)
|
||||||
} ?: (R.string.poi_category_place_of_worship to LocationIcon.Candle)
|
} ?: (R.string.poi_category_place_of_worship to LocationIcon.PlaceOfWorship)
|
||||||
|
|
||||||
"fast_food" -> R.string.poi_category_fast_food to LocationIcon.FastFood
|
"fast_food" -> R.string.poi_category_fast_food to LocationIcon.FastFood
|
||||||
"cafe" -> R.string.poi_category_cafe to LocationIcon.Cafe
|
"cafe" -> R.string.poi_category_cafe to LocationIcon.Cafe
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user