prepare for using properties.weather for better hourly icons

This commit is contained in:
Matt Walsh
2020-10-26 14:45:03 -05:00
parent e031830654
commit dc58647302
3 changed files with 6 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ const icons = (() => {
}
};
const getHourlyIcon = (skyCover, visibility, iceAccumulation, probabilityOfPrecipitation, snowfallAmount, windSpeed, isNight = false) => {
const getHourlyIcon = (skyCover, weather, iceAccumulation, probabilityOfPrecipitation, snowfallAmount, windSpeed, isNight = false) => {
// internal function to add path to returned icon
const addPath = (icon) => `images/r/${icon}`;