NSCv3: update status on connection/disconnection
This commit is contained in:
parent
2967ff4ef9
commit
68e80b82cd
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,7 @@ class NSClientV3Plugin @Inject constructor(
|
|||
rxBus.send(EventNSClientNewLog("◄ WS", "Auth failed"))
|
||||
false
|
||||
}
|
||||
rxBus.send(EventNSClientUpdateGuiStatus())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -420,6 +421,7 @@ class NSClientV3Plugin @Inject constructor(
|
|||
rxBus.send(EventNSClientNewLog("◄ WS", "disconnect storage event"))
|
||||
wsConnected = false
|
||||
initialLoadFinished = false
|
||||
rxBus.send(EventNSClientUpdateGuiStatus())
|
||||
}
|
||||
|
||||
private val onDisconnectAlarm = Emitter.Listener { args ->
|
||||
|
|
Loading…
Reference in a new issue