diff --git a/composeApp/src/desktopMain/kotlin/com/clipevery/net/DesktopConnectState.kt b/composeApp/src/desktopMain/kotlin/com/clipevery/net/DesktopConnectState.kt index 147a66698..8dacba251 100644 --- a/composeApp/src/desktopMain/kotlin/com/clipevery/net/DesktopConnectState.kt +++ b/composeApp/src/desktopMain/kotlin/com/clipevery/net/DesktopConnectState.kt @@ -93,7 +93,7 @@ class DisconnectedState(private val clientHandler: ClientHandler): ConnectState telnetUtils.switchHost(syncRuntimeInfo.hostInfoList, syncRuntimeInfo.port)?.let { hostInfo -> clientHandler.updateSyncStateWithHostInfo(SyncState.Companion.CONNECTING, hostInfo, syncRuntimeInfo.port) } ?: run { - clientHandler.updateSyncState(SyncState.Companion.UNMATCHED) + clientHandler.updateSyncState(SyncState.Companion.DISCONNECTED) } }