diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/NetworkAndServers.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/NetworkAndServers.kt index f4d42022f0..73ee789e7b 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/NetworkAndServers.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/NetworkAndServers.kt @@ -52,13 +52,6 @@ fun ModalData.NetworkAndServersView(close: () -> Unit) { val serverErrors = remember { stateGetOrPut("serverErrors") { emptyList() } } val scope = rememberCoroutineScope() - LaunchedEffect(userServers) { - snapshotFlow { userServers.value } - .collect { updatedServers -> - validateServers(rhId = currentRemoteHost?.remoteHostId, userServersToValidate = updatedServers, serverErrors = serverErrors) - } - } - val proxyPort = remember { derivedStateOf { appPrefs.networkProxy.state.value.port } } ModalView( close = { diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/ProtocolServerView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/ProtocolServerView.kt index 42a020c56e..bebc96a28c 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/ProtocolServerView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/usersettings/networkAndServers/ProtocolServerView.kt @@ -45,13 +45,6 @@ fun ProtocolServerView( val scope = rememberCoroutineScope() val draftServer = remember { mutableStateOf(server) } - LaunchedEffect(userServers) { - snapshotFlow { userServers.value } - .collect { updatedServers -> - validateServers(rhId = rhId, userServersToValidate = updatedServers, serverErrors = serverErrors) - } - } - ModalView( close = { scope.launch {