mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Imprve text and actiavte chainSyncIndicator when not synced
This commit is contained in:
parent
d396ab2c32
commit
5b3d521e36
@ -1660,8 +1660,8 @@ dao.wallet.send.send=Send BSQ funds
|
||||
dao.wallet.send.sendBtc=Send BTC funds
|
||||
dao.wallet.send.sendFunds.headline=Confirm withdrawal request
|
||||
dao.wallet.send.sendFunds.details=Sending: {0}\nTo receiving address: {1}.\nRequired transaction fee is: {2} ({3} satoshis/byte)\nTransaction size: {4} Kb\n\nThe recipient will receive: {5}\n\nAre you sure you want to withdraw that amount?
|
||||
dao.wallet.chainHeightSynced=Synchronized up to block:{0} (latest block: {1})
|
||||
dao.wallet.chainHeightSyncing=Synchronizing block: {0} (latest block: {1})
|
||||
dao.wallet.chainHeightSynced=Latest verified block: {0}
|
||||
dao.wallet.chainHeightSyncing=Awaiting blocks... Verified {0} blocks out of {1}
|
||||
dao.wallet.tx.type=Type
|
||||
|
||||
# suppress inspection "UnusedProperty"
|
||||
|
@ -239,8 +239,8 @@ public class BsqTxView extends ActivatableView<GridPane, Void> implements BsqBal
|
||||
final boolean synced = bsqWalletChainHeight == bsqBlockChainHeight;
|
||||
chainSyncIndicator.setVisible(!synced);
|
||||
chainSyncIndicator.setManaged(!synced);
|
||||
if (bsqBlockChainHeight > 0)
|
||||
chainSyncIndicator.setProgress((double) bsqBlockChainHeight / (double) bsqWalletChainHeight);
|
||||
if (bsqBlockChainHeight != bsqWalletChainHeight)
|
||||
chainSyncIndicator.setProgress(-1);
|
||||
|
||||
if (synced) {
|
||||
chainHeightLabel.setText(Res.get("dao.wallet.chainHeightSynced",
|
||||
|
Loading…
Reference in New Issue
Block a user