Skip to content

Commit

Permalink
chore: rebase
Browse files Browse the repository at this point in the history
feat: switch used hotkey to W
  • Loading branch information
gitolicious committed Apr 22, 2024
1 parent 1c1a9a6 commit 21369c0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions internal/view/owner_extender.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ func NewOwnerExtender(v ResourceViewer) ResourceViewer {
}

// BindKeys injects new menu actions.
func (o *OwnerExtender) bindKeys(aa ui.KeyActions) {
aa.Add(ui.KeyActions{
ui.KeyO: ui.NewKeyAction("Show Owner", o.ownerCmd(), true),
func (o *OwnerExtender) bindKeys(aa *ui.KeyActions) {
aa.Add(ui.KeyW, ui.KeyAction{
Description: "Show Owner",
Action: o.ownerCmd(),
Opts: ui.ActionOpts{
Visible: true,
},
})
}

Expand Down

0 comments on commit 21369c0

Please sign in to comment.