fix: make shortcuts section header fully clickable
This commit is contained in:
parent
c8448ced5e
commit
484f8e1e79
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user