Skip to content
Snippets Groups Projects
Commit 1ed35ca3 authored by Turid Cecilie Dahl's avatar Turid Cecilie Dahl
Browse files

#97 fetches round when clicking on tournament

parent a1915afe
No related branches found
No related tags found
1 merge request!104Dev
......@@ -68,7 +68,12 @@ public class ViewTournamentState extends State {
this.tournament = tournament;
}
try{
this.round = QueryIntermediate.getRoundFromTournament(this.tournament.get_id(), GameWare.getInstance().getPlayer().getId(), this.tournament.getCurrentRound());
}catch(IOException e){
this.round = r;
}
titleLabel.setText(tournament.getName());
roundDeadline.setText("Round deadline\n"+round.getDeadlineDate().toLocaleString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment