mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #2450 from devinbileck/bsq-marketcap-preferred-currency
Display BSQ marketcap using preferred currency
This commit is contained in:
commit
bde720f4d4
@ -223,7 +223,8 @@ public class BsqDashboardView extends ActivatableView<GridPane, Void> implements
|
||||
priceTextField.setText(bsqFormatter.formatPrice(bsqPrice) + " BSQ/BTC");
|
||||
|
||||
marketCapTextField.setText(bsqFormatter.formatMarketCap(priceFeedService.getMarketPrice("BSQ"),
|
||||
priceFeedService.getMarketPrice("USD"), availableAmount));
|
||||
priceFeedService.getMarketPrice(preferences.getPreferredTradeCurrency().getCode()),
|
||||
availableAmount));
|
||||
} else {
|
||||
priceTextField.setText(Res.get("shared.na"));
|
||||
marketCapTextField.setText(Res.get("shared.na"));
|
||||
|
Loading…
Reference in New Issue
Block a user