From f454bbbf63739b44b9824e7264005c703bd807dc Mon Sep 17 00:00:00 2001 From: nsec1 <167650977+nsec1@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:02:49 -0300 Subject: [PATCH] fix market price margin setted to zero in offer edition (#1062) --- .../desktop/main/portfolio/editoffer/EditOfferViewModel.java | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/src/main/java/haveno/desktop/main/portfolio/editoffer/EditOfferViewModel.java b/desktop/src/main/java/haveno/desktop/main/portfolio/editoffer/EditOfferViewModel.java index 8f121359..721f21bb 100644 --- a/desktop/src/main/java/haveno/desktop/main/portfolio/editoffer/EditOfferViewModel.java +++ b/desktop/src/main/java/haveno/desktop/main/portfolio/editoffer/EditOfferViewModel.java @@ -102,7 +102,6 @@ class EditOfferViewModel extends MutableOfferViewModel { } public void onInvalidateMarketPriceMarginPct() { - marketPriceMargin.set("0.00%"); marketPriceMargin.set(FormattingUtils.formatToPercent(dataModel.getMarketPriceMarginPct())); }