Location: Set stable name on load to the user specified name. Until we get a proper weather update
This commit is contained in:
parent
6ecbdda121
commit
b1daf2e8bc
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ Singleton {
|
||||||
if (adapter.latitude !== "" && adapter.longitude !== "" && adapter.weatherLastFetch > 0) {
|
if (adapter.latitude !== "" && adapter.longitude !== "" && adapter.weatherLastFetch > 0) {
|
||||||
root.stableLatitude = adapter.latitude
|
root.stableLatitude = adapter.latitude
|
||||||
root.stableLongitude = adapter.longitude
|
root.stableLongitude = adapter.longitude
|
||||||
|
root.stableName = adapter.name
|
||||||
root.coordinatesReady = true
|
root.coordinatesReady = true
|
||||||
Logger.log("Location", "Coordinates ready")
|
Logger.log("Location", "Coordinates ready")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue