From 90e0375a83a5e800c733117b1ebe8f10bbda8153 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Tue, 2 Dec 2025 18:18:45 +0000 Subject: [PATCH] Remove unused functions. --- internal/tui/list.go | 5 ----- internal/tui/styles.go | 5 ----- 2 files changed, 10 deletions(-) diff --git a/internal/tui/list.go b/internal/tui/list.go index f6b0567..828398e 100644 --- a/internal/tui/list.go +++ b/internal/tui/list.go @@ -295,11 +295,6 @@ func (l *ListView) ViewFiltered(searchTerm string) string { return sb.String() } -// GroupCount returns the number of groups. -func (l *ListView) GroupCount() int { - return len(l.groupOrder) -} - // GetGroups returns all group names. func (l *ListView) GetGroups() []string { return l.groupOrder diff --git a/internal/tui/styles.go b/internal/tui/styles.go index b59d42b..23e7cc4 100644 --- a/internal/tui/styles.go +++ b/internal/tui/styles.go @@ -146,11 +146,6 @@ func StatusText(enabled bool, pending bool, hasError bool) string { return disabledStyle.Render("○ Disabled") } -// HelpItem formats a help item. -func HelpItem(key, desc string) string { - return helpKeyStyle.Render(key) + " " + helpDescStyle.Render(desc) -} - // WrapHelpText wraps help text to fit within maxWidth, splitting on bullet separators. // If maxWidth is 0 or negative, returns the original text. func WrapHelpText(text string, maxWidth int) string {