Skip to content

Commit 89007c4

Browse files
committed
fix connected status in network settings for current connection
1 parent 2dc7405 commit 89007c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/src/main/java/haveno/desktop/main/settings/network/NetworkSettingsView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ private void updateMoneroConnectionsTable() {
521521
if (connectionService.isShutDownStarted()) return; // ignore if shutting down
522522
moneroNetworkListItems.clear();
523523
moneroNetworkListItems.setAll(connectionService.getConnections().stream()
524-
.map(connection -> new MoneroNetworkListItem(connection, Boolean.TRUE.equals(connection.isConnected()) && connection == connectionService.getConnection()))
524+
.map(connection -> new MoneroNetworkListItem(connection, connection == connectionService.getConnection() && Boolean.TRUE.equals(connectionService.isConnected())))
525525
.collect(Collectors.toList()));
526526
updateChainHeightTextField(connectionService.chainHeightProperty().get());
527527
});

0 commit comments

Comments
 (0)