mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #5358 from jmacxx/fix_ClassCastException
Fix ClassCastException in Portfolio History screen
This commit is contained in:
commit
c0cfd25f2f
@ -170,7 +170,7 @@ public class ClosedTradesViewModel extends ActivatableWithDataModel<ClosedTrades
|
||||
|
||||
Tradable tradable = item.getTradable();
|
||||
Offer offer = tradable.getOffer();
|
||||
if (wasMyOffer(tradable)) {
|
||||
if (wasMyOffer(tradable) || tradable instanceof OpenOffer) {
|
||||
CoinFormatter formatter = offer.isCurrencyForMakerFeeBtc() ? btcFormatter : bsqFormatter;
|
||||
return formatter.formatCoin(offer.getMakerFee(), appendCode);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user