mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-20 09:36:55 -04:00
renamed class
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user