summaryrefslogtreecommitdiff
path: root/services/Weather.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-03 19:34:14 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-03 19:34:14 +1100
commitee65883f974d99a3f642fd973f6f08301d27a168 (patch)
tree7d8844883c7fcd86a590f5a3544b8d6ea1f7c242 /services/Weather.qml
parentservices: add brightnessIncrement config property (#1010) (diff)
downloadcaelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.tar.gz
caelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.tar.bz2
caelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.zip
internal: fix some widgets not respecting rounding scale
Diffstat (limited to 'services/Weather.qml')
-rw-r--r--services/Weather.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Weather.qml b/services/Weather.qml
index bc1f11c..d04c537 100644
--- a/services/Weather.qml
+++ b/services/Weather.qml
@@ -24,7 +24,7 @@ Singleton {
readonly property string sunset: cc ? Qt.formatDateTime(new Date(cc.sunset), Config.services.useTwelveHourClock ? "h:mm A" : "h:mm") : "--:--"
function reload(): void {
- let configLocation = Config.services.weatherLocation;
+ const configLocation = Config.services.weatherLocation;
if (configLocation && configLocation !== "") {
if (configLocation.indexOf(",") !== -1 && !isNaN(parseFloat(configLocation.split(",")[0])))