mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-14 05:59:26 +01:00
fix forecast condition parsing
This commit is contained in:
parent
c7c723134e
commit
092af9f38d
@ -52,7 +52,7 @@ public class ParcelableWeather2 implements Parcelable {
|
|||||||
if (--conditions > 0) {
|
if (--conditions > 0) {
|
||||||
Bundle forecastBundle = in.readBundle();
|
Bundle forecastBundle = in.readBundle();
|
||||||
forecastConditionType = forecastBundle.getStringArray("weather_condition_types");
|
forecastConditionType = forecastBundle.getStringArray("weather_condition_types");
|
||||||
forecastConditionCode = weatherConditionTypesToOpenWeatherMapIds(currentConditionType[0]);
|
forecastConditionCode = weatherConditionTypesToOpenWeatherMapIds(forecastConditionType[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// get the rest
|
// get the rest
|
||||||
|
Loading…
Reference in New Issue
Block a user