summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/networkcreation
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-27 22:04:55 +0200
committerKyren223 <Kyren223@proton.me>2024-11-27 22:04:55 +0200
commit4a0d94e4893cd77a0bb498b355d3e1b3cbeed2df (patch)
tree9469dce6b4ed8a4db77771f70ada6fcaf23475c3 /internal/client/ui/core/networkcreation
parent11e523bb89b7ac5a516a176b487d6730a7b781bb (diff)
Worked on the UI for the network list
Diffstat (limited to 'internal/client/ui/core/networkcreation')
-rw-r--r--internal/client/ui/core/networkcreation/networkcreation.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/client/ui/core/networkcreation/networkcreation.go b/internal/client/ui/core/networkcreation/networkcreation.go
index b7f76d4..4575143 100644
--- a/internal/client/ui/core/networkcreation/networkcreation.go
+++ b/internal/client/ui/core/networkcreation/networkcreation.go
@@ -9,7 +9,7 @@ import (
"github.com/charmbracelet/lipgloss"
"github.com/kyren223/eko/internal/client/gateway"
"github.com/kyren223/eko/internal/client/ui/colors"
- "github.com/kyren223/eko/internal/client/ui/core/networks"
+ "github.com/kyren223/eko/internal/client/ui/core/networklist"
"github.com/kyren223/eko/internal/client/ui/field"
"github.com/kyren223/eko/internal/client/ui/layouts/flex"
"github.com/kyren223/eko/internal/packet"
@@ -156,7 +156,7 @@ func (m Model) Init() tea.Cmd {
func (m Model) View() string {
name := m.name.View()
- iconPreview := networks.IconStyle(m.lastFg, m.lastBg).Render(m.icon.Value())
+ iconPreview := networklist.IconStyle(m.lastFg, m.lastBg).Render(m.icon.Value())
iconPreview = lipgloss.NewStyle().Width(m.nameWidth).Align(lipgloss.Center).Render(iconPreview)
color := colors.Gray