From 484f8e1e796dbf0e203ebe15df6187ab62daeb11 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Mon, 5 Jan 2026 12:51:20 +0545 Subject: [PATCH] fix: make shortcuts section header fully clickable --- VoiceInk/Views/EnhancementSettingsView.swift | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/VoiceInk/Views/EnhancementSettingsView.swift b/VoiceInk/Views/EnhancementSettingsView.swift index e4d8e55..c3dfd67 100644 --- a/VoiceInk/Views/EnhancementSettingsView.swift +++ b/VoiceInk/Views/EnhancementSettingsView.swift @@ -81,9 +81,18 @@ struct EnhancementSettingsView: View { EnhancementShortcutsView() .padding(.vertical, 8) } label: { - Text("Shortcuts") - .font(.headline) - .foregroundColor(.primary) + HStack { + Text("Shortcuts") + .font(.headline) + .foregroundColor(.primary) + Spacer() + } + .contentShape(Rectangle()) + .onTapGesture { + withAnimation { + isShortcutsExpanded.toggle() + } + } } } .opacity(enhancementService.isEnhancementEnabled ? 1.0 : 0.8)