Fix checkstyle errors
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package greenify.client;
|
package greenify.client;
|
||||||
|
|
||||||
import javafx.beans.property.SimpleDoubleProperty;
|
import javafx.beans.property.SimpleDoubleProperty;
|
||||||
import javafx.beans.property.SimpleFloatProperty;
|
|
||||||
import javafx.beans.property.SimpleStringProperty;
|
import javafx.beans.property.SimpleStringProperty;
|
||||||
|
|
||||||
public class Friend {
|
public class Friend {
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ public class CalculatorController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
DashBoardController controller;
|
DashBoardController controller;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
ExtraActivityController extraActivityController;
|
||||||
|
|
||||||
//navigation panes
|
//navigation panes
|
||||||
@FXML
|
@FXML
|
||||||
private AnchorPane getStartedPane;
|
private AnchorPane getStartedPane;
|
||||||
@@ -395,11 +398,12 @@ public class CalculatorController {
|
|||||||
"input_footprint_shopping_services_total",
|
"input_footprint_shopping_services_total",
|
||||||
servicesLabel.getText().replace("€ / month", ""));
|
servicesLabel.getText().replace("€ / month", ""));
|
||||||
}
|
}
|
||||||
|
extraActivityController.updateExtras();
|
||||||
Float footprint = userService.saveFootprint(userService.currentUser.getName());
|
Float footprint = userService.saveFootprint(userService.currentUser.getName());
|
||||||
Window owner = saveButton.getScene().getWindow();
|
Window owner = saveButton.getScene().getWindow();
|
||||||
Stage current = (Stage) owner;
|
|
||||||
controller.updateLeaderboard();
|
controller.updateLeaderboard();
|
||||||
controller.updateAchievements();
|
controller.updateAchievements();
|
||||||
|
Stage current = (Stage) owner;
|
||||||
UserController.AlertHelper.showAlert(Alert.AlertType.CONFIRMATION,
|
UserController.AlertHelper.showAlert(Alert.AlertType.CONFIRMATION,
|
||||||
owner, "Footprint saved!", "Your footprint is saved!");
|
owner, "Footprint saved!", "Your footprint is saved!");
|
||||||
current.close();
|
current.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user