Browse Source

improve background text

terminal
Craig Raw 4 years ago
parent
commit
911ed3a718
  1. 2
      src/main/java/com/sparrowwallet/sparrow/net/BatchedElectrumServerRpc.java
  2. 10
      src/main/resources/com/sparrowwallet/sparrow/app.fxml

2
src/main/java/com/sparrowwallet/sparrow/net/BatchedElectrumServerRpc.java

@ -209,7 +209,7 @@ public class BatchedElectrumServerRpc implements ElectrumServerRpc {
//The server may return an error if the transaction has not yet been broadcasted - this is a valid state so only try once
return new RetryLogic<Map<String, VerboseTransaction>>(1, RETRY_DELAY, IllegalStateException.class).getResult(batchRequest::execute);
} catch(JsonRpcBatchException e) {
log.warn("Some errors retrieving transactions: " + e.getErrors());
log.debug("Some errors retrieving transactions: " + e.getErrors());
return (Map<String, VerboseTransaction>)e.getSuccesses();
} catch(Exception e) {
throw new ElectrumServerRpcException("Failed to retrieve verbose transactions for txids: " + txids, e);

10
src/main/resources/com/sparrowwallet/sparrow/app.fxml

@ -112,8 +112,14 @@
</menus>
</MenuBar>
<DecorationPane fx:id="rootStack" VBox.vgrow="ALWAYS">
<Rectangle styleClass="background-box" width="400" height="125" />
<Text styleClass="background-text" text="Drag files here to open" />
<Rectangle styleClass="background-box" width="450" height="170" />
<HBox alignment="CENTER">
<VBox alignment="CENTER_LEFT" spacing="15">
<Text styleClass="background-text" text="File menu → New Wallet or" />
<Text styleClass="background-text" text="File menu → Import Wallet or" />
<Text styleClass="background-text" text="Drag files here to open" />
</VBox>
</HBox>
<TabPane fx:id="tabs" />
</DecorationPane>

Loading…
Cancel
Save