Weather plugins: fix location id / name

This commit is contained in:
MM20
2024-05-01 01:32:29 +02:00
parent a86c400a30
commit 92788ba273
@@ -295,7 +295,7 @@ internal class PluginWeatherProvider(
if (lat != null && lon != null) {
results += WeatherLocation.LatLon(lat = lat, lon = lon, name = name)
} else if (locationId != null) {
results += WeatherLocation.Id(locationId, name)
results += WeatherLocation.Id(locationId = locationId, name = name)
}
}
results