|
@@ -8,7 +8,7 @@ import org.cryptomator.common.settings.UiTheme;
|
|
|
import org.cryptomator.integrations.autostart.AutoStartProvider;
|
|
|
import org.cryptomator.integrations.autostart.ToggleAutoStartFailedException;
|
|
|
import org.cryptomator.integrations.keychain.KeychainAccessProvider;
|
|
|
-import org.cryptomator.ui.error.ErrorComponent;
|
|
|
+import org.cryptomator.ui.error.GenericErrorComponent;
|
|
|
import org.cryptomator.ui.common.FxController;
|
|
|
import org.cryptomator.ui.traymenu.TrayMenuComponent;
|
|
|
import org.slf4j.Logger;
|
|
@@ -49,7 +49,7 @@ public class GeneralPreferencesController implements FxController {
|
|
|
private final Application application;
|
|
|
private final Environment environment;
|
|
|
private final Set<KeychainAccessProvider> keychainAccessProviders;
|
|
|
- private final ErrorComponent.Builder errorComponent;
|
|
|
+ private final GenericErrorComponent.Builder errorComponent;
|
|
|
public ChoiceBox<UiTheme> themeChoiceBox;
|
|
|
public ChoiceBox<KeychainBackend> keychainBackendChoiceBox;
|
|
|
public CheckBox showMinimizeButtonCheckbox;
|
|
@@ -63,7 +63,7 @@ public class GeneralPreferencesController implements FxController {
|
|
|
|
|
|
|
|
|
@Inject
|
|
|
- GeneralPreferencesController(@PreferencesWindow Stage window, Settings settings, TrayMenuComponent trayMenu, Optional<AutoStartProvider> autoStartProvider, Set<KeychainAccessProvider> keychainAccessProviders, ObjectProperty<SelectedPreferencesTab> selectedTabProperty, LicenseHolder licenseHolder, ResourceBundle resourceBundle, Application application, Environment environment, ErrorComponent.Builder errorComponent) {
|
|
|
+ GeneralPreferencesController(@PreferencesWindow Stage window, Settings settings, TrayMenuComponent trayMenu, Optional<AutoStartProvider> autoStartProvider, Set<KeychainAccessProvider> keychainAccessProviders, ObjectProperty<SelectedPreferencesTab> selectedTabProperty, LicenseHolder licenseHolder, ResourceBundle resourceBundle, Application application, Environment environment, GenericErrorComponent.Builder errorComponent) {
|
|
|
this.window = window;
|
|
|
this.settings = settings;
|
|
|
this.trayMenuInitialized = trayMenu.isInitialized();
|