fix: make shortcuts section header fully clickable

This commit is contained in:
Beingpax 2026-01-05 12:51:20 +05:45
parent c8448ced5e
commit 484f8e1e79

View File

@ -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)