mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
* UI: fixed wrong ability text capitalization in mode choose dialog;
This commit is contained in:
parent
944ef84036
commit
6b5108770c
2 changed files with 6 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ public class AbilityPickerView implements Serializable {
|
|||
if (rule.isEmpty()) {
|
||||
rule = ability.toString();
|
||||
}
|
||||
rule = Character.toUpperCase(rule.charAt(0)) + rule.substring(1);
|
||||
if (!rule.isEmpty()) {
|
||||
rule = Character.toUpperCase(rule.charAt(0)) + rule.substring(1);
|
||||
}
|
||||
return rule;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue