mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 11:46:11 -04:00
add crypto logos to market pulldown
This commit is contained in:
parent
1604ec8e73
commit
b7136b6950
1 changed files with 7 additions and 0 deletions
|
@ -333,6 +333,13 @@ public class GUIUtil {
|
||||||
currency.setText(Res.get("list.currency.editList"));
|
currency.setText(Res.get("list.currency.editList"));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
// use icons for crypto
|
||||||
|
if (CurrencyUtil.isCryptoCurrency(code)) {
|
||||||
|
currencyType.setText("");
|
||||||
|
currencyType.setGraphic(getCurrencyIcon(code));
|
||||||
|
}
|
||||||
|
|
||||||
if (preferences.isSortMarketCurrenciesNumerically()) {
|
if (preferences.isSortMarketCurrenciesNumerically()) {
|
||||||
offers.setText(offers.getText() + " (" + item.numTrades + " " +
|
offers.setText(offers.getText() + " (" + item.numTrades + " " +
|
||||||
(item.numTrades == 1 ? postFixSingle : postFixMulti) + ")");
|
(item.numTrades == 1 ? postFixSingle : postFixMulti) + ")");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue