Add fiat conversion also for trade amount when making a trade to sell btc

This commit is contained in:
BtcContributor 2021-04-30 18:24:09 +02:00
parent a1d63e35d7
commit ea8653ef87
No known key found for this signature in database
GPG key ID: DA582457496C7F6D

View file

@ -992,7 +992,10 @@ public abstract class MutableOfferViewModel<M extends MutableOfferDataModel> ext
}
public String getTradeAmount() {
return btcFormatter.formatCoinWithCode(dataModel.getAmount().get());
return FeeUtil.getTradeFeeWithFiatEquivalent(offerUtil,
dataModel.getAmount().get(),
true,
btcFormatter);
}
public String getSecurityDepositLabel() {