diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-30 18:38:09 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-30 18:38:09 +0200 |
| commit | 452040598b1960f72cfe9c6649d09884740dd8c0 (patch) | |
| tree | 80bfd1603b4141c7ce94a6f7c0a1bf7e0e20ae59 /internal/client/ui/core/network | |
| parent | 9bbf36550b4871299bad0ff0a7d42617914b543a (diff) | |
Created UI for create frequency popup
Diffstat (limited to 'internal/client/ui/core/network')
| -rw-r--r-- | internal/client/ui/core/network/network.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/client/ui/core/network/network.go b/internal/client/ui/core/network/network.go index 5a5d0ec..8be44a3 100644 --- a/internal/client/ui/core/network/network.go +++ b/internal/client/ui/core/network/network.go @@ -149,6 +149,8 @@ func (m Model) Swap(dir int) (Model, tea.Cmd) { func (m *Model) Set(index int) { if index != -1 { m.network = &state.State.Networks[index] + } else { + m.network = nil } } |
