renamed class

This commit is contained in:
Sebastian Stenzel
2019-11-20 17:14:31 +01:00
parent 9b019726bb
commit f87fa319ff
3 changed files with 5 additions and 5 deletions

View File

@@ -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;
}

View File

@@ -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);
}

View File

@@ -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"/>