Explorar el Código

renamed class

Sebastian Stenzel hace 5 años
padre
commit
f87fa319ff

+ 2 - 2
main/ui/src/main/java/org/cryptomator/ui/preferences/LicenseKeyPreferencesController.java

@@ -10,7 +10,7 @@ import org.cryptomator.ui.common.FxController;
 import javax.inject.Inject;
 
 @PreferencesScoped
-public class LicenseKeyPreferencesController implements FxController {
+public class DonationKeyPreferencesController implements FxController {
 	
 	private static final String DONATION_URI = "https://cryptomator.org/#donate";
 
@@ -19,7 +19,7 @@ public class LicenseKeyPreferencesController implements FxController {
 	public TextArea donationKeyField;
 
 	@Inject
-	LicenseKeyPreferencesController(Application application, LicenseHolder licenseHolder) {
+	DonationKeyPreferencesController(Application application, LicenseHolder licenseHolder) {
 		this.application = application;
 		this.licenseHolder = licenseHolder;
 	}

+ 2 - 2
main/ui/src/main/java/org/cryptomator/ui/preferences/PreferencesModule.java

@@ -80,7 +80,7 @@ abstract class PreferencesModule {
 
 	@Binds
 	@IntoMap
-	@FxControllerKey(LicenseKeyPreferencesController.class)
-	abstract FxController bindLicenseKeyPreferencesController(LicenseKeyPreferencesController controller);
+	@FxControllerKey(DonationKeyPreferencesController.class)
+	abstract FxController bindDonationKeyPreferencesController(DonationKeyPreferencesController controller);
 
 }

+ 1 - 1
main/ui/src/main/resources/fxml/preferences_donationkey.fxml

@@ -12,7 +12,7 @@
 <?import org.cryptomator.ui.controls.FormattedLabel?>
 <VBox xmlns="http://javafx.com/javafx"
 	  xmlns:fx="http://javafx.com/fxml"
-	  fx:controller="org.cryptomator.ui.preferences.LicenseKeyPreferencesController"
+	  fx:controller="org.cryptomator.ui.preferences.DonationKeyPreferencesController"
 	  spacing="18">
 	<padding>
 		<Insets topRightBottomLeft="12"/>