mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
improve background text
This commit is contained in:
parent
dbfed31432
commit
911ed3a718
2 changed files with 9 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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…
Reference in a new issue