From b053130570c40c19c124d409d7843ad825312525 Mon Sep 17 00:00:00 2001 From: "William (Liam) Snow IV" Date: Thu, 3 Jul 2025 00:08:25 -0400 Subject: feat: fahrenheit option for weather (#189) * Added Fahrenheit to Weather Service * some fixes Allow for hot reloading config opt Add opt to example config --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- modules/lock/WeatherInfo.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lock') diff --git a/modules/lock/WeatherInfo.qml b/modules/lock/WeatherInfo.qml index 1b840e6..7ed64dc 100644 --- a/modules/lock/WeatherInfo.qml +++ b/modules/lock/WeatherInfo.qml @@ -40,7 +40,7 @@ RowLayout { Layout.fillWidth: true animate: true - text: `${Weather.temperature}°C` + text: Config.dashboard.useFahrenheit ? Weather.tempF : Weather.tempC color: Colours.palette.m3primary horizontalAlignment: Text.AlignHCenter font.pointSize: Appearance.font.size.extraLarge -- cgit v1.2.3-freya