From 544d69827a2929a109acdcde5fb4b34a0d5f54b5 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 17 Dec 2024 09:12:35 -0500 Subject: [PATCH] show locked symbol for private offers in trade history --- .../main/portfolio/closedtrades/ClosedTradesListItem.java | 2 +- .../main/portfolio/failedtrades/FailedTradesViewModel.java | 2 +- desktop/src/main/java/haveno/desktop/util/DisplayUtils.java | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/desktop/src/main/java/haveno/desktop/main/portfolio/closedtrades/ClosedTradesListItem.java b/desktop/src/main/java/haveno/desktop/main/portfolio/closedtrades/ClosedTradesListItem.java index 6c1e30b828..7b6ca92a19 100644 --- a/desktop/src/main/java/haveno/desktop/main/portfolio/closedtrades/ClosedTradesListItem.java +++ b/desktop/src/main/java/haveno/desktop/main/portfolio/closedtrades/ClosedTradesListItem.java @@ -105,7 +105,7 @@ public class ClosedTradesListItem implements FilterableListItem { ? offer.getDirection() : offer.getMirroredDirection(); String currencyCode = tradable.getOffer().getCurrencyCode(); - return DisplayUtils.getDirectionWithCode(direction, currencyCode); + return DisplayUtils.getDirectionWithCode(direction, currencyCode, offer.isPrivateOffer()); } public Date getDate() { diff --git a/desktop/src/main/java/haveno/desktop/main/portfolio/failedtrades/FailedTradesViewModel.java b/desktop/src/main/java/haveno/desktop/main/portfolio/failedtrades/FailedTradesViewModel.java index eef2ffa444..b6dd35d3a5 100644 --- a/desktop/src/main/java/haveno/desktop/main/portfolio/failedtrades/FailedTradesViewModel.java +++ b/desktop/src/main/java/haveno/desktop/main/portfolio/failedtrades/FailedTradesViewModel.java @@ -68,7 +68,7 @@ class FailedTradesViewModel extends ActivatableWithDataModel