GUI: added mana and other symbols support in choose spell dialog (closes #12155)

This commit is contained in:
Oleg Agafonov 2024-07-27 10:17:22 +04:00
parent 521a0f6e32
commit 2bf6e3e3a2
7 changed files with 26 additions and 36 deletions

View file

@ -1520,8 +1520,7 @@ public class CardView extends SimpleCardView {
}
public String getColorText() {
String colorText = getColor().getDescription();
return colorText.substring(0, 1).toUpperCase(Locale.ENGLISH) + colorText.substring(1);
return CardUtil.getTextWithFirstCharUpperCase(getColor().getDescription());
}
public String getTypeText() {