Fix for weather module not refreshing data after exception

This commit is contained in:
vincep5
2019-07-11 12:49:24 -05:00
parent 776c486b1a
commit 819c4cde1c
6 changed files with 11 additions and 6 deletions

View File

@@ -79,16 +79,12 @@ var WeatherProvider = Class.extend({
setCurrentWeather: function(currentWeatherObject) {
// We should check here if we are passing a WeatherDay
this.currentWeatherObject = currentWeatherObject;
this.updateAvailable();
},
// Set the weatherForecastArray and notify the delegate that new information is available.
setWeatherForecast: function(weatherForecastArray) {
// We should check here if we are passing a WeatherDay
this.weatherForecastArray = weatherForecastArray;
this.updateAvailable();
},
// Set the fetched location name.