1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-05 04:58:30 -04:00

greeter: fix weather location sync

fixes #2303
This commit is contained in:
bbedward
2026-07-04 13:06:49 -04:00
parent 25a1b125b7
commit e7bd8e4002
2 changed files with 6 additions and 4 deletions
+4 -4
View File
@@ -462,7 +462,7 @@ Singleton {
}
function getConfiguredLocationName() {
return SessionData.isGreeterMode ? GreetdSettings.weatherLocation : SettingsData.weatherLocation;
return SessionData.isGreeterMode ? SessionData.weatherLocation : SettingsData.weatherLocation;
}
function setLocation(lat, lon, city, country) {
@@ -516,8 +516,8 @@ Singleton {
function updateLocation() {
const useAuto = SessionData.isGreeterMode ? GreetdSettings.useAutoLocation : SettingsData.useAutoLocation;
const coords = SessionData.isGreeterMode ? GreetdSettings.weatherCoordinates : SettingsData.weatherCoordinates;
const cityName = SessionData.isGreeterMode ? GreetdSettings.weatherLocation : SettingsData.weatherLocation;
const coords = SessionData.isGreeterMode ? SessionData.weatherCoordinates : SettingsData.weatherCoordinates;
const cityName = SessionData.isGreeterMode ? SessionData.weatherLocation : SettingsData.weatherLocation;
if (useAuto) {
getLocationFromService();
@@ -803,7 +803,7 @@ Singleton {
onExited: exitCode => {
if (bigDataCloudFetcher.reqId !== root._geocodeReqId)
return;
// Final fallback; no further action needed
// Final fallback; no further action needed
}
}