Skip to content
Snippets Groups Projects
Verified Commit f7ca1bf2 authored by Théo Pirkl's avatar Théo Pirkl :nail_care:
Browse files

Tidies up

parent 53bd0ff0
No related branches found
No related tags found
1 merge request!21*poof* final version
...@@ -299,7 +299,7 @@ public class MainWindowController implements Initializable { ...@@ -299,7 +299,7 @@ public class MainWindowController implements Initializable {
private void setupCurrentConnection(AppContext app, WeatherAPI api) throws IOException { private void setupCurrentConnection(AppContext app, WeatherAPI api) throws IOException {
String wtcd = api.getWeatherFrom(currentJourney.getTo().getLocation().getCoordinates()).getConditionsIcon(); String wtcd = api.getWeatherFrom(currentJourney.getTo().getLocation().getCoordinates()).getConditionsIcon();
currentJourneyLabel.setText("Vous voyagez de " + currentJourney.getFrom().getLocation().getName() + " vers " 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.setUnderline(true);
currentJourneyLabel.setOnMouseClicked(event -> { currentJourneyLabel.setOnMouseClicked(event -> {
Alert alertQuit = new Alert(Alert.AlertType.CONFIRMATION); Alert alertQuit = new Alert(Alert.AlertType.CONFIRMATION);
...@@ -472,6 +472,7 @@ public class MainWindowController implements Initializable { ...@@ -472,6 +472,7 @@ public class MainWindowController implements Initializable {
} }
}), userFilter::test); }), userFilter::test);
// Subscribe to meeting
app.getMessageManager().conditionalSubscribeMeeting(meeting -> Platform.runLater(() -> { app.getMessageManager().conditionalSubscribeMeeting(meeting -> Platform.runLater(() -> {
drawMessage( drawMessage(
String.format( String.format(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment