fix: dont show service setup dialog on tcp connections

This commit is contained in:
Ilya Zlobintsev
2026-08-02 12:32:46 +03:00
parent bc6acedbec
commit d51944d800
+1 -1
View File
@@ -382,7 +382,7 @@ impl AsyncComponent for AppModel {
Some(remote_addr) => {
info!("establishing connection to {remote_addr}");
match DaemonClient::connect_tcp(&remote_addr).await {
Ok(conn) => (conn, false),
Ok(conn) => (conn, true),
Err(err) => {
sender.input(AppMsg::Error(
anyhow!("TCP connection failed, falling back to local: {err:#}").into(),