From 2f4b76fd0fc0c52fc48b0909296d0bd7bf51261c Mon Sep 17 00:00:00 2001 From: Toby Padilla Date: Fri, 20 Aug 2021 17:34:56 -0500 Subject: [PATCH] Remove commitsLog --- tui/bubble.go | 2 -- tui/commands.go | 7 ------- 2 files changed, 9 deletions(-) diff --git a/tui/bubble.go b/tui/bubble.go index 891d86096172285bf84d85f69c9c82e5f2264f3f..3e78383144fa003d4316cfd4c96acc0f7b27837f 100644 --- a/tui/bubble.go +++ b/tui/bubble.go @@ -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" @@ -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 { diff --git a/tui/commands.go b/tui/commands.go index e57b133797340bcd0b4d15bc045d7fb9ab7b2bd9..6224cd8580446acd298e6ca938e9b0c699e8e26f 100644 --- a/tui/commands.go +++ b/tui/commands.go @@ -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 {