diff options
| author | Jean-François Milants <jf@codingfield.com> | 2025-12-29 22:34:38 +0100 |
|---|---|---|
| committer | mark9064 <30447455+mark9064@users.noreply.github.com> | 2025-12-31 17:52:55 +0000 |
| commit | 41050e6a9851eddb5735b7888e3e48d94604daed (patch) | |
| tree | 73bc22d2119712ba7336b5574df72b5d0136c316 /src/displayapp/screens/WeatherSymbols.cpp | |
| parent | 526d8416bafdfb79751e85ccd5ee48e2daa8d266 (diff) | |
Weather : Improve simple weather conditions (Pinetime::Applications::Screens::Symbols::GetSimpleCondition) to be more consistent with OpenWeather Api (https://openweathermap.org/weather-conditions)
Diffstat (limited to 'src/displayapp/screens/WeatherSymbols.cpp')
| -rw-r--r-- | src/displayapp/screens/WeatherSymbols.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/displayapp/screens/WeatherSymbols.cpp b/src/displayapp/screens/WeatherSymbols.cpp index f7e41547..0a963bc6 100644 --- a/src/displayapp/screens/WeatherSymbols.cpp +++ b/src/displayapp/screens/WeatherSymbols.cpp @@ -63,15 +63,15 @@ const char* Pinetime::Applications::Screens::Symbols::GetCondition(const Pinetim const char* Pinetime::Applications::Screens::Symbols::GetSimpleCondition(const Pinetime::Controllers::SimpleWeatherService::Icons icon) { switch (icon) { case Pinetime::Controllers::SimpleWeatherService::Icons::Sun: - return "Clear"; case Pinetime::Controllers::SimpleWeatherService::Icons::CloudsSun: + return "Clear"; case Pinetime::Controllers::SimpleWeatherService::Icons::Clouds: case Pinetime::Controllers::SimpleWeatherService::Icons::BrokenClouds: - return "Clouds"; + return "Cloudy"; case Pinetime::Controllers::SimpleWeatherService::Icons::CloudShowerHeavy: - return "Rain"; + return "Showers"; case Pinetime::Controllers::SimpleWeatherService::Icons::CloudSunRain: - return "Drizzle"; + return "Rain"; case Pinetime::Controllers::SimpleWeatherService::Icons::Thunderstorm: return "Thunder"; case Pinetime::Controllers::SimpleWeatherService::Icons::Snow: |
