1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-13 21:49:27 +01:00

fix forecast condition parsing

This commit is contained in:
danielegobbetti 2016-01-05 16:03:59 +01:00
parent c7c723134e
commit 092af9f38d

View File

@ -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