From d1fbe94d90648964808996857a91198e4dbadcf8 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 28 Aug 2020 14:41:26 +0200 Subject: [PATCH] welcome page tweak --- .../com/sparrowwallet/sparrow/control/WelcomeDialog.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java b/src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java index 28814d80..49d181a3 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/WelcomeDialog.java @@ -15,8 +15,8 @@ import org.controlsfx.control.ToggleSwitch; public class WelcomeDialog extends Dialog { private static final String[] ELECTRUM_SERVERS = new String[]{ "ElectrumX (Recommended)", "https://github.com/spesmilo/electrumx", - "electrs", "https://github.com/romanz/electrs", - "esplora-electrs", "https://github.com/Blockstream/electrs"}; + "electrs (Experimental)", "https://github.com/romanz/electrs", + "esplora-electrs (Experimental)", "https://github.com/Blockstream/electrs"}; private final HostServices hostServices; @@ -71,7 +71,8 @@ public class WelcomeDialog extends Dialog { } private HyperlinkLabel createBulletedLink(String name, String url) { - HyperlinkLabel label = new HyperlinkLabel(" \u2022 [" + name + "]"); + String[] nameParts = name.split(" "); + HyperlinkLabel label = new HyperlinkLabel(" \u2022 [" + nameParts[0] + "] " + (nameParts.length > 1 ? nameParts[1] : "")); label.setOnAction(event -> { hostServices.showDocument(url); });