summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/core.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-25 16:46:06 +0200
committerKyren223 <Kyren223@proton.me>2024-11-25 16:46:06 +0200
commit66e39ff2f64153efed919610097efcb9cd42b10f (patch)
tree754dbc65d35411e40b2871a31fb8589978b859f5 /internal/client/ui/core/core.go
parent54564f397db03e7e10db764947dd05b533e0d87b (diff)
Experimenting on the design of the networks popup
Diffstat (limited to 'internal/client/ui/core/core.go')
-rw-r--r--internal/client/ui/core/core.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go
index 5fb8e7b..070ab16 100644
--- a/internal/client/ui/core/core.go
+++ b/internal/client/ui/core/core.go
@@ -136,6 +136,13 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
popup := networkcreation.New()
m.networkCreationPopup = &popup
}
+
+ default:
+ if m.networkCreationPopup != nil {
+ popup, cmd := m.networkCreationPopup.Update(msg)
+ m.networkCreationPopup = &popup
+ return m, cmd
+ }
}
}