From b0681791e3566eaed5d7df4c9c5c13bd1b2b68f8 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 3 Jul 2025 14:44:28 +0300 Subject: Fixed ci based on check-ci (incomplete) --- internal/client/config/config.go | 4 ++-- internal/client/ui/core/chat/chat.go | 2 +- internal/client/ui/core/frequencycreation/frequencycreation.go | 3 --- internal/client/ui/core/frequencyupdate/frequencyupdate.go | 3 --- 4 files changed, 3 insertions(+), 9 deletions(-) (limited to 'internal/client') diff --git a/internal/client/config/config.go b/internal/client/config/config.go index c3264c5..4ceea6b 100644 --- a/internal/client/config/config.go +++ b/internal/client/config/config.go @@ -39,13 +39,13 @@ func VerifyAndFix(config *Config) error { if config.Colors != nil { for i, color := range config.Colors { if !colors.IsHex(color) { - return fmt.Errorf("Color at %v is not a valid hex color", i) + return fmt.Errorf("color at %v is not a valid hex color", i) } } if len(config.Colors) != colors.Count { return fmt.Errorf( - "Expected %v colors, got %v colors, set this value to null to use the default colors", + "expected %v colors, got %v colors, set this value to null to use the default colors", colors.Count, len(config.Colors), ) } diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index 89a066b..f9224e4 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -1570,7 +1570,7 @@ func (m *Model) SetWidth(width int) { func (m *Model) renderFrequencyName() string { name := "" - color := colors.White + var color lipgloss.Color networkId := state.NetworkId(m.networkIndex) if m.frequencyIndex != -1 && networkId != nil { diff --git a/internal/client/ui/core/frequencycreation/frequencycreation.go b/internal/client/ui/core/frequencycreation/frequencycreation.go index dac2392..8c25101 100644 --- a/internal/client/ui/core/frequencycreation/frequencycreation.go +++ b/internal/client/ui/core/frequencycreation/frequencycreation.go @@ -22,9 +22,6 @@ var ( padding = 4 headerStyle = func() lipgloss.Style { return lipgloss.NewStyle().Foreground(colors.Turquoise) } - focusStyle = func() lipgloss.Style { - return lipgloss.NewStyle().Background(colors.Background).Foreground(colors.Focus) - } underlineStyle = func(s string, width int, color lipgloss.Color) string { underline := strings.Repeat("━", width) diff --git a/internal/client/ui/core/frequencyupdate/frequencyupdate.go b/internal/client/ui/core/frequencyupdate/frequencyupdate.go index 2e1894f..5f54a6d 100644 --- a/internal/client/ui/core/frequencyupdate/frequencyupdate.go +++ b/internal/client/ui/core/frequencyupdate/frequencyupdate.go @@ -23,9 +23,6 @@ var ( padding = 4 headerStyle = func() lipgloss.Style { return lipgloss.NewStyle().Foreground(colors.Turquoise) } - focusStyle = func() lipgloss.Style { - return lipgloss.NewStyle().Background(colors.Background).Foreground(colors.Focus) - } underlineStyle = func(s string, width int, color lipgloss.Color) string { underline := strings.Repeat("━", width) -- cgit v1.3.1