We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f6e14 commit 547ac8aCopy full SHA for 547ac8a
src/MetOfficeClient.cpp
@@ -458,6 +458,5 @@ String MetOfficeClient::getWeatherIconName(String weatherType) {
458
if (weatherType == "28") return "d_thshwr"; // Thunder shower (night)
459
if (weatherType == "29") return "d_thshwr"; // Thunder shower (night)
460
if (weatherType == "30") return "thunder"; // Thunder
461
- int weatherTypeAsInt = weatherType.toInt();
462
- if (weatherTypeAsInt > 30) return "no_data";// Something unexpected has happened!
+ return "no_data" ;// Something unexpected has happened!
463
}
0 commit comments