diff --git a/main/ui/src/main/java/org/cryptomator/ui/preferences/LicenseKeyPreferencesController.java b/main/ui/src/main/java/org/cryptomator/ui/preferences/DonationKeyPreferencesController.java similarity index 88% rename from main/ui/src/main/java/org/cryptomator/ui/preferences/LicenseKeyPreferencesController.java rename to main/ui/src/main/java/org/cryptomator/ui/preferences/DonationKeyPreferencesController.java index f18bc7882..9dcc171b3 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/preferences/LicenseKeyPreferencesController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/preferences/DonationKeyPreferencesController.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; } diff --git a/main/ui/src/main/java/org/cryptomator/ui/preferences/PreferencesModule.java b/main/ui/src/main/java/org/cryptomator/ui/preferences/PreferencesModule.java index 2ed7be66e..981d9c87f 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/preferences/PreferencesModule.java +++ b/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); } diff --git a/main/ui/src/main/resources/fxml/preferences_donationkey.fxml b/main/ui/src/main/resources/fxml/preferences_donationkey.fxml index a743cb761..12d24066b 100644 --- a/main/ui/src/main/resources/fxml/preferences_donationkey.fxml +++ b/main/ui/src/main/resources/fxml/preferences_donationkey.fxml @@ -12,7 +12,7 @@