summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/client/ui/core/core.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go
index 2c77ea6..4511f3b 100644
--- a/internal/client/ui/core/core.go
+++ b/internal/client/ui/core/core.go
@@ -186,7 +186,7 @@ func (m *Model) updateConnected(msg tea.Msg) tea.Cmd {
state.UserID = nil
m.connected = false
m.timeout = initialTimeout
- return gateway.Connect(m.privKey, connectionTimeout)
+ return tea.Batch(gateway.Connect(m.privKey, connectionTimeout), m.loading.Init())
case *packet.Error:
err := "new connection from another location, closing this one"