From 092af9f38d04ba6c8d2e3644ebfd6953e824caf8 Mon Sep 17 00:00:00 2001 From: danielegobbetti Date: Tue, 5 Jan 2016 16:03:59 +0100 Subject: [PATCH] fix forecast condition parsing --- .../gelin/android/weather/notification/ParcelableWeather2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ru/gelin/android/weather/notification/ParcelableWeather2.java b/app/src/main/java/ru/gelin/android/weather/notification/ParcelableWeather2.java index d7b426748..8defe1e05 100644 --- a/app/src/main/java/ru/gelin/android/weather/notification/ParcelableWeather2.java +++ b/app/src/main/java/ru/gelin/android/weather/notification/ParcelableWeather2.java @@ -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