Ver Fonte

removed unused label id

Jan-Peter Klein há 1 ano atrás
pai
commit
1581a10c04

+ 0 - 1
src/main/java/org/cryptomator/ui/preferences/UpdatesPreferencesController.java

@@ -53,7 +53,6 @@ public class UpdatesPreferencesController implements FxController {
 
 	/* FXML */
 	public CheckBox checkForUpdatesCheckbox;
-	public Label upToDateLabel;
 
 	@Inject
 	UpdatesPreferencesController(Application application, Environment environment, ResourceBundle resourceBundle, Settings settings, UpdateChecker updateChecker) {

+ 1 - 1
src/main/resources/fxml/preferences_updates.fxml

@@ -47,7 +47,7 @@
 				<Tooltip text="${controller.lastSuccessfulUpdateCheck}" showDelay="10ms"/>
 			</tooltip>
 		</FormattedLabel>
-		<Label fx:id="upToDateLabel" text="%preferences.updates.upToDate" visible="${controller.upToDateLabelVisible}" managed="${controller.upToDateLabelVisible}">
+		<Label text="%preferences.updates.upToDate" visible="${controller.upToDateLabelVisible}" managed="${controller.upToDateLabelVisible}">
 			<graphic>
 				<FontAwesome5IconView glyphSize="12" styleClass="glyph-icon-primary" glyph="CHECK"/>
 			</graphic>