We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98801da commit d0438b7Copy full SHA for d0438b7
pkg/gui/types/keybindings.go
@@ -43,8 +43,8 @@ type Binding struct {
43
GetDisabledReason func() *DisabledReason
44
}
45
46
-func (Binding *Binding) IsDisabled() bool {
47
- return Binding.GetDisabledReason != nil && Binding.GetDisabledReason() != nil
+func (b *Binding) IsDisabled() bool {
+ return b.GetDisabledReason != nil && b.GetDisabledReason() != nil
48
49
50
// A guard is a decorator which checks something before executing a handler
0 commit comments