diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Weather.qml | 2 |
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]))) |