Skip to content

Commit

Permalink
🚨 fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
McPringle committed Mar 30, 2024
1 parent 4dbe88f commit c39f94b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
@CssImport(value = "./themes/apus/views/conference-view.css")
public final class ConferenceView extends Div {

public static final String LABEL_THEME = "badge";
private static final int MAX_ROOMS_IN_VIEW = 12;
private static final Duration UPDATE_FREQUENCY = Duration.ofMinutes(1);

Expand Down Expand Up @@ -83,11 +84,11 @@ private void updateConferenceSessions() {
@NotNull
private static Component createLegend() {
final Component runningSession = new Span("running session");
runningSession.getElement().getThemeList().add("badge");
runningSession.getElement().getThemeList().add(LABEL_THEME);
runningSession.addClassName("running-session");

final Component nextSession = new Span("next session");
nextSession.getElement().getThemeList().add("badge");
nextSession.getElement().getThemeList().add(LABEL_THEME);
nextSession.addClassName("next-session");

final Component legend = new Span(runningSession, nextSession);
Expand Down

0 comments on commit c39f94b

Please sign in to comment.