mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
fix xmr formatting taking offer above limit
This commit is contained in:
parent
490e066cf0
commit
11451498f9
@ -96,7 +96,6 @@ import javafx.scene.layout.VBox;
|
|||||||
import javafx.scene.text.TextAlignment;
|
import javafx.scene.text.TextAlignment;
|
||||||
import javafx.util.Callback;
|
import javafx.util.Callback;
|
||||||
import javafx.util.StringConverter;
|
import javafx.util.StringConverter;
|
||||||
import org.bitcoinj.core.Coin;
|
|
||||||
import org.fxmisc.easybind.EasyBind;
|
import org.fxmisc.easybind.EasyBind;
|
||||||
import org.fxmisc.easybind.Subscription;
|
import org.fxmisc.easybind.Subscription;
|
||||||
import org.fxmisc.easybind.monadic.MonadicBinding;
|
import org.fxmisc.easybind.monadic.MonadicBinding;
|
||||||
@ -668,7 +667,7 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
|
|||||||
offer.getCurrencyCode(), offer.getMirroredDirection());
|
offer.getCurrencyCode(), offer.getMirroredDirection());
|
||||||
new Popup()
|
new Popup()
|
||||||
.warning(Res.get("popup.warning.tradeLimitDueAccountAgeRestriction.buyer",
|
.warning(Res.get("popup.warning.tradeLimitDueAccountAgeRestriction.buyer",
|
||||||
formatter.formatCoinWithCode(Coin.valueOf(tradeLimit)),
|
HavenoUtils.formatXmr(tradeLimit, true),
|
||||||
Res.get("offerbook.warning.newVersionAnnouncement")))
|
Res.get("offerbook.warning.newVersionAnnouncement")))
|
||||||
.show();
|
.show();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user