Parcourir la source

fixing a general setting not showing up on Mac OS

infeo il y a 7 ans
Parent
commit
e3b9601721

+ 2 - 2
main/ui/src/main/java/org/cryptomator/ui/controllers/SettingsController.java

@@ -138,8 +138,8 @@ public class SettingsController implements ViewController {
 		fuseNioAdapter.managedProperty().bind(fuseNioAdapter.visibleProperty());
 		defaultMountDirLabel.managedProperty().bind(fuseNioAdapter.visibleProperty());
 		defaultMountDir.managedProperty().bind(fuseNioAdapter.visibleProperty());
-		defaultMountDirLabel.setVisible(SystemUtils.IS_OS_LINUX);
-		defaultMountDir.setVisible(SystemUtils.IS_OS_LINUX);
+		defaultMountDirLabel.setVisible(!SystemUtils.IS_OS_WINDOWS);
+		defaultMountDir.setVisible(!SystemUtils.IS_OS_WINDOWS);
 		defaultMountDir.setText(String.valueOf(settings.defaultMountDir().get()));
 		changeDefaultMountDirButton.setVisible(false);
 		changeDefaultMountDirButton.visibleProperty().bind(