desktop: closing modals when connected to remote host (#5650)

This commit is contained in:
Stanislav Dmitrenko
2025-02-21 15:20:02 +07:00
committed by GitHub
parent ca3687488f
commit b27e964d0c
@@ -2907,6 +2907,7 @@ object ChatController {
is CR.RemoteHostConnected -> {
// TODO needs to update it instead in sessions
chatModel.currentRemoteHost.value = r.remoteHost
ModalManager.start.closeModals()
switchUIRemoteHost(r.remoteHost.remoteHostId)
}
is CR.ContactDisabled -> {