Rename candle location icon to place of worship

This commit is contained in:
MM20 2024-06-14 15:54:10 +02:00
parent b8a1bcbd41
commit 5d411d0f0c
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -114,7 +114,7 @@ enum class LocationIcon {
Synagogue, Synagogue,
BuddhistTemple, BuddhistTemple,
HinduTemple, HinduTemple,
Candle, PlaceOfWorship,
GovernmentBuilding, GovernmentBuilding,
Police, Police,

View File

@ -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