mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-30 10:18:44 -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"));
|
||||
break;
|
||||
default:
|
||||
|
||||
// use icons for crypto
|
||||
if (CurrencyUtil.isCryptoCurrency(code)) {
|
||||
currencyType.setText("");
|
||||
currencyType.setGraphic(getCurrencyIcon(code));
|
||||
}
|
||||
|
||||
if (preferences.isSortMarketCurrenciesNumerically()) {
|
||||
offers.setText(offers.getText() + " (" + item.numTrades + " " +
|
||||
(item.numTrades == 1 ? postFixSingle : postFixMulti) + ")");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue