feat: weather widget - add wind speed, option to disable decimals for temperature & redesign dropdown forecast (#2099)
This commit is contained in:
@@ -77,6 +77,8 @@ const optionMapping: OptionMapping = {
|
||||
forecastDayCount: (oldOptions) => oldOptions.forecastDays,
|
||||
hasForecast: (oldOptions) => oldOptions.displayWeekly,
|
||||
isFormatFahrenheit: (oldOptions) => oldOptions.displayInFahrenheit,
|
||||
disableTemperatureDecimals: () => undefined,
|
||||
showCurrentWindSpeed: () => undefined,
|
||||
location: (oldOptions) => oldOptions.location,
|
||||
showCity: (oldOptions) => oldOptions.displayCityName,
|
||||
dateFormat: (oldOptions) => (oldOptions.dateFormat === "hide" ? undefined : oldOptions.dateFormat),
|
||||
|
||||
Reference in New Issue
Block a user