Skip to content
Snippets Groups Projects
Commit bef1f246 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

removed unnecessary refresh calls in init methods

parent 5d72f294
No related branches found
No related tags found
No related merge requests found
...@@ -64,9 +64,8 @@ public class HomeController implements Refreshable ...@@ -64,9 +64,8 @@ public class HomeController implements Refreshable
}); });
} }
}); });
anchorPaneMain.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND));
refresh(); anchorPaneMain.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND));
} }
private void refreshListView() private void refreshListView()
......
...@@ -119,8 +119,6 @@ public class PaymentController implements Refreshable ...@@ -119,8 +119,6 @@ public class PaymentController implements Refreshable
buttonNewIncome.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;"); buttonNewIncome.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;");
buttonFilter.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;"); buttonFilter.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;");
buttonNewPayment.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;"); buttonNewPayment.setStyle("-fx-background-color: " + ConvertTo.toRGBHexWithoutOpacity(Colors.BACKGROUND_BUTTON_BLUE) + "; -fx-text-fill: white; -fx-font-weight: bold; -fx-font-size: 16;");
refresh();
} }
public void newIncome() public void newIncome()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment