location: IPC call now triggers geocoding and weather refresh. Fix #2065

This commit is contained in:
Lemmy
2026-03-04 11:02:42 -05:00
parent 13dad39652
commit cf326a71fc
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -10,6 +10,7 @@ import qs.Commons
import qs.Modules.Panels.Settings
import qs.Services.Compositor
import qs.Services.Hardware
import qs.Services.Location
import qs.Services.Media
import qs.Services.Networking
import qs.Services.Noctalia
@@ -835,6 +836,7 @@ Singleton {
}
function set(name: string) {
Settings.data.location.name = name;
LocationService.update();
}
}
+5
View File
@@ -142,6 +142,11 @@ Singleton {
isFetchingWeather = false;
Logger.i("Location", "Coordinates ready");
if (locationChanged) {
adapter.weatherLastFetch = 0;
updateWeatherData();
}
}, errorCallback);
}