From 4e8cf55bb1efa28601dfccc90d26a70c5e16725f Mon Sep 17 00:00:00 2001 From: Lemmy Date: Fri, 23 Jan 2026 11:18:24 -0500 Subject: [PATCH] hooks: cleaned ui and colorize active hooks --- .../Panels/Settings/Tabs/Hooks/HookRow.qml | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/Modules/Panels/Settings/Tabs/Hooks/HookRow.qml b/Modules/Panels/Settings/Tabs/Hooks/HookRow.qml index 207391b71..6ebc5a1e0 100644 --- a/Modules/Panels/Settings/Tabs/Hooks/HookRow.qml +++ b/Modules/Panels/Settings/Tabs/Hooks/HookRow.qml @@ -14,27 +14,10 @@ RowLayout { spacing: Style.marginM - ColumnLayout { - Layout.fillWidth: true - spacing: Style.marginXS - - NText { - text: root.label - font.weight: Style.fontWeightBold - Layout.fillWidth: true - elide: Text.ElideRight - } - - NText { - text: root.description - color: Color.mOnSurfaceVariant - pointSize: Style.fontSizeS - Layout.fillWidth: true - wrapMode: Text.WordWrap - } - - // Optional: Show current value preview if not empty? - // For now, let's keep it clean as requested. + NLabel { + label: root.label + description: root.description + labelColor: root.value ? Color.mPrimary : Color.mOnSurface } NIconButton {