1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

fix: remove useFahrenheit refresh, fetch Celcius convert locally (#785)

* fix: remove useFahrenheit refresh, fetch Celcius convert locally

* fix: typo in change unit button
This commit is contained in:
mbpowers
2025-11-21 20:41:12 -06:00
committed by GitHub
parent f8dc6ad2bc
commit 1e70d7b4c3
2 changed files with 2 additions and 11 deletions

View File

@@ -139,7 +139,7 @@ Item {
cursorShape: Qt.PointingHandCursor
onClicked: {
if (WeatherService.weather.available) {
SettingsData.set("temperatureUnit", !SettingsData.useFahrenheit)
SettingsData.set("useFahrenheit", !SettingsData.useFahrenheit)
}
}
enabled: WeatherService.weather.available
@@ -656,4 +656,4 @@ Item {
}
}
}
}
}