Weather plugins: fix location id / name
This commit is contained in:
parent
a86c400a30
commit
92788ba273
@ -295,7 +295,7 @@ internal class PluginWeatherProvider(
|
|||||||
if (lat != null && lon != null) {
|
if (lat != null && lon != null) {
|
||||||
results += WeatherLocation.LatLon(lat = lat, lon = lon, name = name)
|
results += WeatherLocation.LatLon(lat = lat, lon = lon, name = name)
|
||||||
} else if (locationId != null) {
|
} else if (locationId != null) {
|
||||||
results += WeatherLocation.Id(locationId, name)
|
results += WeatherLocation.Id(locationId = locationId, name = name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
results
|
results
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user