mirror of
https://github.com/Kyren223/eko.git
synced 2026-07-19 18:11:04 +00:00
Fixed loading screen not animating after losing connection
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user