mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-05 05:04:15 -04:00
refactor trade protocol error handling and wallet deletion
This commit is contained in:
parent
b034ac8c13
commit
6fb846d783
10 changed files with 233 additions and 205 deletions
|
@ -556,7 +556,7 @@ public class FailedTradesView extends ActivatableViewAndModel<VBox, FailedTrades
|
|||
@Override
|
||||
public void updateItem(FailedTradesListItem newItem, boolean empty) {
|
||||
super.updateItem(newItem, empty);
|
||||
if (!empty && newItem != null) {
|
||||
if (!empty && newItem != null && newItem.getTrade().isDepositsPublished()) {
|
||||
Label icon = FormBuilder.getIcon(AwesomeIcon.UNDO);
|
||||
JFXButton iconButton = new JFXButton("", icon);
|
||||
iconButton.setStyle("-fx-cursor: hand;");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue