diff --git a/src/main/java/ch/hepia/ui/MainWindowController.java b/src/main/java/ch/hepia/ui/MainWindowController.java index b06c445e04ec6963d6f2d642cece22f895323055..5bdfc864ded883cfcb8358335decfade9803885f 100644 --- a/src/main/java/ch/hepia/ui/MainWindowController.java +++ b/src/main/java/ch/hepia/ui/MainWindowController.java @@ -299,7 +299,7 @@ public class MainWindowController implements Initializable { private void setupCurrentConnection(AppContext app, WeatherAPI api) throws IOException { String wtcd = api.getWeatherFrom(currentJourney.getTo().getLocation().getCoordinates()).getConditionsIcon(); currentJourneyLabel.setText("Vous voyagez de " + currentJourney.getFrom().getLocation().getName() + " vers " - + currentJourney.getTo().getLocation().getName() + ". Cliquez ici pour quitter cet itinéraire."); + + currentJourney.getTo().getLocation().getName() + ". Cliquez ici pour le quitter."); currentJourneyLabel.setUnderline(true); currentJourneyLabel.setOnMouseClicked(event -> { Alert alertQuit = new Alert(Alert.AlertType.CONFIRMATION); @@ -472,6 +472,7 @@ public class MainWindowController implements Initializable { } }), userFilter::test); + // Subscribe to meeting app.getMessageManager().conditionalSubscribeMeeting(meeting -> Platform.runLater(() -> { drawMessage( String.format(