diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameDecorator.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameDecorator.java index a53e43d..fcde13d 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameDecorator.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/main/gameScheduleView/GameDecorator.java @@ -38,14 +38,14 @@ public class GameDecorator { public String getParticipantOne() { if (game.getParticipant1() != null) { - return game.getParticipant1().getName(); + return game.getParticipant1().toString(); } return "1"; } public String getParticipantTwo() { if (game.getParticipant2() != null) { - return game.getParticipant2().getName(); + return game.getParticipant2().toString(); } return "2"; }