Skip to content

Commit

Permalink
Use static string instead of property
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Jan 10, 2021
1 parent 17f6650 commit 85a71a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/help/AboutDialog.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<Label alignment="CENTER" styleClass="info-sections" text="${controller.viewModel.maintainers}" textAlignment="JUSTIFY" wrapText="true"/>
<Label styleClass="sub-heading" text="%Contributors"/>
<HBox alignment="CENTER_LEFT">
<Hyperlink styleClass="contrib-section" onAction="#openContributors" text="${controller.viewModel.contributors}" wrapText="true"/>
<Hyperlink styleClass="contrib-section" onAction="#openContributors" text="%JabRef would not have been possible without the help of our contributors." wrapText="true"/>
</HBox>
<TextArea fx:id="textAreaVersions" editable="false" prefHeight="100.0" prefWidth="200.0" styleClass="info-sections"/>
</VBox>
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/org/jabref/gui/help/AboutDialogViewModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public class AboutDialogViewModel extends AbstractViewModel {
private final ReadOnlyStringWrapper heading = new ReadOnlyStringWrapper();
private final ReadOnlyStringWrapper maintainers = new ReadOnlyStringWrapper();
private final ReadOnlyStringWrapper license = new ReadOnlyStringWrapper();
private final ReadOnlyStringWrapper contributors = new ReadOnlyStringWrapper();
private final ReadOnlyBooleanWrapper isDevelopmentVersion = new ReadOnlyBooleanWrapper();
private final DialogService dialogService;
private final ReadOnlyStringWrapper developmentVersion = new ReadOnlyStringWrapper();
Expand Down Expand Up @@ -107,14 +106,6 @@ public String getLicense() {
return license.get();
}

public ReadOnlyStringProperty contributorsProperty() {
return contributors.getReadOnlyProperty();
}

public String getContributors() {
return contributors.get();
}

public String getEnvironmentInfo() {
return environmentInfo.get();
}
Expand Down

0 comments on commit 85a71a1

Please sign in to comment.