mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Fix Bridges UI, remove triggering of bridges mode (testing code)
Signed-off-by: Mike Rosseel <mike@eon-consult.be>
This commit is contained in:
parent
dfb7745f27
commit
1578340c78
2 changed files with 4 additions and 2 deletions
|
@ -117,7 +117,7 @@ public class AddBridgeEntriesWindow extends Overlay<AddBridgeEntriesWindow> {
|
|||
HBox.setHgrow(spacer, Priority.ALWAYS);
|
||||
|
||||
GridPane.setHalignment(hBox, HPos.RIGHT);
|
||||
GridPane.setRowIndex(hBox, rowIndex);
|
||||
GridPane.setRowIndex(hBox, ++rowIndex);
|
||||
GridPane.setColumnSpan(hBox, 2);
|
||||
GridPane.setMargin(hBox, new Insets(buttonDistance, 0, 0, 0));
|
||||
gridPane.getChildren().add(hBox);
|
||||
|
@ -158,7 +158,7 @@ public class AddBridgeEntriesWindow extends Overlay<AddBridgeEntriesWindow> {
|
|||
GridPane.setColumnIndex(label, 0);
|
||||
GridPane.setColumnSpan(label, 2);
|
||||
GridPane.setHalignment(label, HPos.LEFT);
|
||||
Tuple2<Label, TextArea> labelTextAreaTuple2 = addLabelTextArea(gridPane, rowIndex, "Bridge entries:", "");
|
||||
Tuple2<Label, TextArea> labelTextAreaTuple2 = addLabelTextArea(gridPane, ++rowIndex, "Bridge entries:", "");
|
||||
bridgeEntriesTextArea = labelTextAreaTuple2.second;
|
||||
}
|
||||
|
||||
|
|
|
@ -205,11 +205,13 @@ public class TorNetworkNode extends NetworkNode {
|
|||
private void createTorAndHiddenService(final File torDir, int localPort, int servicePort, List<String> bridgeLines) {
|
||||
Log.traceCall();
|
||||
log.debug("Using bridges: {}", bridgeLines.stream().collect(Collectors.joining(",")));
|
||||
/*
|
||||
if(restartCounter == 0) {
|
||||
log.error("Doing fake restart to get to the bridges");
|
||||
restartTor("error message here...");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
ListenableFuture<Object> future = (ListenableFuture<Object>) executorService.submit(() -> {
|
||||
try {
|
||||
Tor.setDefault(new NativeTor(torDir, bridgeLines));
|
||||
|
|
Loading…
Add table
Reference in a new issue