Skip to content

Commit

Permalink
Don't remove today from the forecast
Browse files Browse the repository at this point in the history
The forecast view starts with today, so by removing it it incorrectly shows tomorrow's
forecast as today.

Change-Id: If5636a969a9a3a00b731aa1d0b8fce66f7406af3
  • Loading branch information
Tortel committed Jun 27, 2016
1 parent a8980db commit 56154d0
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -269,8 +269,6 @@ private void processWeatherRequest(YQLResponse yqlResponse, ServiceRequest servi
ArrayList<WeatherInfo.DayForecast> forecastList =
ConverterUtils.convertForecastsToDayForecasts(
Arrays.asList(forecasts), MAX_FORECAST_DAYS);
// Remove today
forecastList.remove(0);

weatherInfoBuilder.setForecast(forecastList);

Expand Down

0 comments on commit 56154d0

Please sign in to comment.