Skip to content
Snippets Groups Projects
Commit 3d8206c8 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: Return useGridWeatherData=False if not set

parent 57ed17a4
No related branches found
No related tags found
1 merge request!191Add map module and Open-Meteo support
...@@ -127,7 +127,7 @@ public class ForecastConfiguration implements Serializable, Comparable { ...@@ -127,7 +127,7 @@ public class ForecastConfiguration implements Serializable, Comparable {
private Boolean useGridWeatherData; private Boolean useGridWeatherData;
public Boolean getUseGridWeatherData() { public Boolean getUseGridWeatherData() {
return useGridWeatherData; return useGridWeatherData != null ? useGridWeatherData : Boolean.FALSE;
} }
public void setUseGridWeatherData(Boolean useGridWeatherData) { public void setUseGridWeatherData(Boolean useGridWeatherData) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment