mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-03 14:49:25 +00:00
fix connected status in network settings for current connection
This commit is contained in:
parent
2dc7405f82
commit
89007c496e
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ public class NetworkSettingsView extends ActivatableView<GridPane, Void> {
|
|||
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());
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue