Skip to content

Commit

Permalink
Remove commitsLog
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Padilla committed Aug 20, 2021
1 parent 73ccd13 commit 2f4b76f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions tui/bubble.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package tui
import (
"fmt"
"smoothie/git"
"smoothie/tui/bubbles/commits"
"smoothie/tui/bubbles/repo"
"smoothie/tui/bubbles/selection"
"smoothie/tui/style"
Expand Down Expand Up @@ -61,7 +60,6 @@ type Bubble struct {
boxes []tea.Model
activeBox int
repoSelect *selection.Bubble
commitsLog *commits.Bubble
}

func NewBubble(cfg *Config, sCfg *SessionConfig) *Bubble {
Expand Down
7 changes: 0 additions & 7 deletions tui/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ func (b *Bubble) setupCmd() tea.Msg {
}
b.repoSelect = selection.NewBubble(rs, b.styles)
b.boxes[0] = b.repoSelect
/*
b.commitsLog = commits.NewBubble(
b.height-verticalPadding-2,
boxRightWidth-horizontalPadding-2,
b.repoSource.GetCommits(200),
)
*/
ir := -1
if b.initialRepo != "" {
for i, me := range b.repoMenu {
Expand Down

0 comments on commit 2f4b76f

Please sign in to comment.