Use the arrow symbol for a wind direction

This commit is contained in:
Nebojsa Vuksic 2025-07-29 15:43:30 +02:00
parent 01d981038c
commit bafad75cea

View File

@ -73,14 +73,14 @@ enum class WeatherType(val label: String, val dayIconKey: IconKey, val nightIcon
* Enum representing wind directions. * Enum representing wind directions.
*/ */
enum class WindDirection(val label: String) { enum class WindDirection(val label: String) {
NORTH("N"), NORTH(""),
NORTH_EAST("NE"), NORTH_EAST(""),
EAST("E"), EAST(""),
SOUTH_EAST("SE"), SOUTH_EAST(""),
SOUTH("S"), SOUTH(""),
SOUTH_WEST("SW"), SOUTH_WEST(""),
WEST("W"), WEST(""),
NORTH_WEST("NW"); NORTH_WEST("");
companion object { companion object {
fun random(): WindDirection = entries.toTypedArray().random() fun random(): WindDirection = entries.toTypedArray().random()