diff --git a/internal/tui/bubble.go b/internal/tui/bubble.go index 1adf41728ba4b9d584e30e8fb42fcf212be2a54b..ed5a314ee202086135812bd5d2c1217e638fc35c 100644 --- a/internal/tui/bubble.go +++ b/internal/tui/bubble.go @@ -162,7 +162,7 @@ func (b Bubble) footerView() string { h = []gittypes.HelpEntry{ {"tab", "section"}, } - if box, ok := b.boxes[b.activeBox].(gittypes.HelpableBubble); ok { + if box, ok := b.boxes[b.activeBox].(gittypes.BubbleHelper); ok { help := box.Help() for _, he := range help { h = append(h, he) diff --git a/internal/tui/bubbles/git/types/help.go b/internal/tui/bubbles/git/types/help.go index ae04818c76b15bd1914478fb5f2a45e7f23f0b04..c42fa527270b56b469b5d029f933add804d2de99 100644 --- a/internal/tui/bubbles/git/types/help.go +++ b/internal/tui/bubbles/git/types/help.go @@ -1,6 +1,6 @@ package types -type HelpableBubble interface { +type BubbleHelper interface { Help() []HelpEntry }