From 67c75b1cce495256edfc3bc45f78583b7f721da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20A=2E=20Tekeo=C4=9Flu?= <55619655+tekeoglan@users.noreply.github.com> Date: Tue, 1 Jul 2025 05:42:50 +0300 Subject: [PATCH] fix(ServiceConfig): add weatherbar section --- .../modules/settings/ServicesConfig.qml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.config/quickshell/modules/settings/ServicesConfig.qml b/.config/quickshell/modules/settings/ServicesConfig.qml index ecd7efa89..21064ac91 100644 --- a/.config/quickshell/modules/settings/ServicesConfig.qml +++ b/.config/quickshell/modules/settings/ServicesConfig.qml @@ -138,16 +138,13 @@ ContentPage { } } - ContentSubsection { + ContentSection { title: "Weather" - ConfigRow { - uniform: false - ConfigSwitch { - text: "Show" - checked: ConfigOptions.bar.weather.show - onCheckedChanged: { - ConfigLoader.setConfigValueAndSave("bar.weather.show", checked); - } + ConfigSwitch { + text: "Show" + checked: Config.options.bar.weather.show + onCheckedChanged: { + Config.options.bar.weather.show = checked; } } }