From 66e39ff2f64153efed919610097efcb9cd42b10f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 25 Nov 2024 16:46:06 +0200 Subject: Experimenting on the design of the networks popup --- internal/client/ui/core/core.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/client/ui/core/core.go') 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 + } } } -- cgit v1.3.1