[CLIENT] #12 : Utilisation des nouveaus types ajoutés au commit précédent

This commit is contained in:
Notmoo-PC\Notmoo 2018-01-23 18:03:17 +01:00
parent b609661c03
commit 611eb86f07
1 changed files with 4 additions and 1 deletions

View File

@ -47,8 +47,11 @@ class StatScreenView implements IFXComponent {
.map(field -> {
if(statistics.containsKey(field.getStr())){
switch (field.getType()){
case SIMPLE:
case OTHER:
case SIMPLE_NUMBER:
return String.format("%s : %s", GUIStringTool.getStatisticFieldsRenderer().render(field), statistics.get(field.getStr()));
case SIMPLE_CURRENCY:
return String.format("%s : %s€", GUIStringTool.getStatisticFieldsRenderer().render(field), statistics.get(field.getStr()));
default :
break;
}