fa7616f5cc62427c6b70ef2687dc413501492b5f

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

fix: rename bubble helper for clarity

Diff

 1diff --git a/internal/tui/bubble.go b/internal/tui/bubble.go
 2index 1adf41728ba4b9d584e30e8fb42fcf212be2a54b..ed5a314ee202086135812bd5d2c1217e638fc35c 100644
 3--- a/internal/tui/bubble.go
 4+++ b/internal/tui/bubble.go
 5@@ -162,7 +162,7 @@ func (b Bubble) footerView() string {
 6 		h = []gittypes.HelpEntry{
 7 			{"tab", "section"},
 8 		}
 9-		if box, ok := b.boxes[b.activeBox].(gittypes.HelpableBubble); ok {
10+		if box, ok := b.boxes[b.activeBox].(gittypes.BubbleHelper); ok {
11 			help := box.Help()
12 			for _, he := range help {
13 				h = append(h, he)
14diff --git a/internal/tui/bubbles/git/types/help.go b/internal/tui/bubbles/git/types/help.go
15index ae04818c76b15bd1914478fb5f2a45e7f23f0b04..c42fa527270b56b469b5d029f933add804d2de99 100644
16--- a/internal/tui/bubbles/git/types/help.go
17+++ b/internal/tui/bubbles/git/types/help.go
18@@ -1,6 +1,6 @@
19 package types
20 
21-type HelpableBubble interface {
22+type BubbleHelper interface {
23 	Help() []HelpEntry
24 }
25