reorder emoji
This commit is contained in:
parent
4c95017e02
commit
52de6f0f9b
1 changed files with 6 additions and 6 deletions
|
|
@ -2,15 +2,15 @@ const types = @import("../weather/types.zig");
|
|||
|
||||
pub fn getWeatherEmoji(code: types.WeatherCode) []const u8 {
|
||||
return switch (@intFromEnum(code)) {
|
||||
200...232 => "⛈", // Thunderstorm
|
||||
300...321 => "🌦", // Drizzle
|
||||
500...531 => "🌧", // Rain
|
||||
600...610, 617...622 => "🌨", // Snow
|
||||
611...616 => "🌧", // Sleet
|
||||
701, 741 => "🌫", // Mist/fog
|
||||
800 => "☀️", // Clear
|
||||
801, 802 => "⛅️", // Few/scattered clouds
|
||||
803, 804 => "☁️", // Broken/overcast clouds
|
||||
701, 741 => "🌫", // Mist/fog
|
||||
300...321 => "🌦", // Drizzle
|
||||
500...531 => "🌧", // Rain
|
||||
200...232 => "⛈", // Thunderstorm
|
||||
611...616 => "🌧", // Sleet
|
||||
600...610, 617...622 => "🌨", // Snow
|
||||
else => "✨", // Unknown
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue