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) {
|
||||
Bundle forecastBundle = in.readBundle();
|
||||
forecastConditionType = forecastBundle.getStringArray("weather_condition_types");
|
||||
forecastConditionCode = weatherConditionTypesToOpenWeatherMapIds(currentConditionType[0]);
|
||||
forecastConditionCode = weatherConditionTypesToOpenWeatherMapIds(forecastConditionType[0]);
|
||||
}
|
||||
}
|
||||
// get the rest
|
||||
|
|
Loading…
Reference in New Issue