diff --git a/desktop/src/main/java/haveno/desktop/main/settings/network/NetworkSettingsView.java b/desktop/src/main/java/haveno/desktop/main/settings/network/NetworkSettingsView.java index 546a55505f..399f050826 100644 --- a/desktop/src/main/java/haveno/desktop/main/settings/network/NetworkSettingsView.java +++ b/desktop/src/main/java/haveno/desktop/main/settings/network/NetworkSettingsView.java @@ -521,7 +521,7 @@ public class NetworkSettingsView extends ActivatableView { if (connectionService.isShutDownStarted()) return; // ignore if shutting down moneroNetworkListItems.clear(); moneroNetworkListItems.setAll(connectionService.getConnections().stream() - .map(connection -> new MoneroNetworkListItem(connection, Boolean.TRUE.equals(connection.isConnected()) && connection == connectionService.getConnection())) + .map(connection -> new MoneroNetworkListItem(connection, connection == connectionService.getConnection() && Boolean.TRUE.equals(connectionService.isConnected()))) .collect(Collectors.toList())); updateChainHeightTextField(connectionService.chainHeightProperty().get()); });