From 5444d96832dd18281e134c562e2ce53682f6aafe Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 21 Dec 2024 08:40:48 -0500 Subject: [PATCH] reverse order of funds > confirmations and memo columns --- .../main/funds/transactions/TransactionsView.fxml | 2 +- .../main/funds/transactions/TransactionsView.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.fxml b/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.fxml index 7c5da978..24d8f121 100644 --- a/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.fxml +++ b/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.fxml @@ -38,8 +38,8 @@ + - diff --git a/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.java b/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.java index 9544f507..b8827822 100644 --- a/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.java +++ b/desktop/src/main/java/haveno/desktop/main/funds/transactions/TransactionsView.java @@ -70,7 +70,7 @@ public class TransactionsView extends ActivatableView { @FXML TableView tableView; @FXML - TableColumn dateColumn, detailsColumn, addressColumn, transactionColumn, amountColumn, txFeeColumn, memoColumn, confidenceColumn, revertTxColumn; + TableColumn dateColumn, detailsColumn, addressColumn, transactionColumn, amountColumn, txFeeColumn, confidenceColumn, memoColumn, revertTxColumn; @FXML Label numItems; @FXML @@ -133,8 +133,8 @@ public class TransactionsView extends ActivatableView { transactionColumn.setGraphic(new AutoTooltipLabel(Res.get("shared.txId", Res.getBaseCurrencyCode()))); amountColumn.setGraphic(new AutoTooltipLabel(Res.get("shared.amountWithCur", Res.getBaseCurrencyCode()))); txFeeColumn.setGraphic(new AutoTooltipLabel(Res.get("shared.txFee", Res.getBaseCurrencyCode()))); - memoColumn.setGraphic(new AutoTooltipLabel(Res.get("funds.tx.memo"))); confidenceColumn.setGraphic(new AutoTooltipLabel(Res.get("shared.confirmations", Res.getBaseCurrencyCode()))); + memoColumn.setGraphic(new AutoTooltipLabel(Res.get("funds.tx.memo"))); revertTxColumn.setGraphic(new AutoTooltipLabel(Res.get("shared.revert", Res.getBaseCurrencyCode()))); tableView.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMN); @@ -146,8 +146,8 @@ public class TransactionsView extends ActivatableView { setTransactionColumnCellFactory(); setAmountColumnCellFactory(); setTxFeeColumnCellFactory(); - setMemoColumnCellFactory(); setConfidenceColumnCellFactory(); + setMemoColumnCellFactory(); setRevertTxColumnCellFactory(); dateColumn.setComparator(Comparator.comparing(TransactionsListItem::getDate)); @@ -221,8 +221,8 @@ public class TransactionsView extends ActivatableView { columns[3] = item.getTxId(); columns[4] = item.getAmountStr(); columns[5] = item.getTxFeeStr(); - columns[6] = item.getMemo() == null ? "" : item.getMemo(); - columns[7] = String.valueOf(item.getNumConfirmations()); + columns[6] = String.valueOf(item.getNumConfirmations()); + columns[7] = item.getMemo() == null ? "" : item.getMemo(); return columns; };