mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-19 01:59:31 -07:00
add refresh flag to getdata funcions
This commit is contained in:
@@ -21,7 +21,7 @@ class RegionalForecast extends WeatherDisplay {
|
||||
this.timing.totalScreens = 3;
|
||||
}
|
||||
|
||||
async getData(_weatherParameters) {
|
||||
async getData(_weatherParameters, refresh) {
|
||||
if (!super.getData(_weatherParameters)) return;
|
||||
const weatherParameters = _weatherParameters ?? this.weatherParameters;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user