summaryrefslogtreecommitdiff
path: root/internal/client/ui
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-03 14:44:28 +0300
committerKyren223 <Kyren223@proton.me>2025-07-03 14:44:28 +0300
commitb0681791e3566eaed5d7df4c9c5c13bd1b2b68f8 (patch)
tree2e697dcab63f0128f2e397614228ab77987434a0 /internal/client/ui
parentb951d00f792360e84fe1d196b0dc92d9aabb18a4 (diff)
Fixed ci based on check-ci (incomplete)
Diffstat (limited to 'internal/client/ui')
-rw-r--r--internal/client/ui/core/chat/chat.go2
-rw-r--r--internal/client/ui/core/frequencycreation/frequencycreation.go3
-rw-r--r--internal/client/ui/core/frequencyupdate/frequencyupdate.go3
3 files changed, 1 insertions, 7 deletions
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)