From 611eb86f07b9b3c2bb7ad7d5b875ed7994e0d811 Mon Sep 17 00:00:00 2001 From: "Notmoo-PC\\Notmoo" Date: Tue, 23 Jan 2018 18:03:17 +0100 Subject: [PATCH] =?UTF-8?q?[CLIENT]=20#12=20:=20Utilisation=20des=20nouvea?= =?UTF-8?q?us=20types=20ajout=C3=A9s=20au=20commit=20pr=C3=A9c=C3=A9dent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pqt/client/gui/modules/stat_screen/StatScreenView.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java b/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java index bff414bc..f4aa9f28 100644 --- a/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java +++ b/Workspace/client/src/main/java/com/pqt/client/gui/modules/stat_screen/StatScreenView.java @@ -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; }