From 56154d0302626cc8fdf2db03b985db4e891e1f38 Mon Sep 17 00:00:00 2001 From: Scott Warner Date: Mon, 27 Jun 2016 10:28:44 -0400 Subject: Don't remove today from the forecast The forecast view starts with today, so by removing it it incorrectly shows tomorrow's forecast as today. Change-Id: If5636a969a9a3a00b731aa1d0b8fce66f7406af3 --- .../cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java index 63c0f96..92fb895 100644 --- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java +++ b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java @@ -269,8 +269,6 @@ public class YahooWeatherProviderService extends WeatherProviderService ArrayList forecastList = ConverterUtils.convertForecastsToDayForecasts( Arrays.asList(forecasts), MAX_FORECAST_DAYS); - // Remove today - forecastList.remove(0); weatherInfoBuilder.setForecast(forecastList); -- cgit v1.2.3