NSCv3: update status on connection/disconnection

This commit is contained in:
Milos Kozak 2023-04-11 16:01:52 +02:00
parent 2967ff4ef9
commit 68e80b82cd

View file

@ -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 ->