Armin Schrenk 2 years ago
parent
commit
8580e97791

+ 1 - 2
src/main/java/org/cryptomator/ui/vaultoptions/MountOptionsController.java

@@ -119,7 +119,7 @@ public class MountOptionsController implements FxController {
 			readOnlyCheckbox.setSelected(false); // to prevent invalid states
 			mountFlagsField.textProperty().unbind();
 			var mountFlags = vaultSettings.mountFlags().get();
-			if(mountFlags == null || mountFlags.isBlank()) {
+			if (mountFlags == null || mountFlags.isBlank()) {
 				vaultSettings.mountFlags().set(defaultMountFlags.getValue());
 			}
 			mountFlagsField.textProperty().bindBidirectional(vaultSettings.mountFlags());
@@ -274,5 +274,4 @@ public class MountOptionsController implements FxController {
 	public String getDirectoryPath() {
 		return directoryPath.getValue();
 	}
-
 }

+ 1 - 1
src/main/resources/fxml/vault_options_mount.fxml

@@ -63,7 +63,7 @@
 					</graphic>
 				</Button>
 			</HBox>
-			<TextField fx:id="directoryPathField" text="${controller.directoryPath}" visible="${mountPointDirBtn.selected}" managed="${mountPointDirBtn.managed}" maxWidth="Infinity" editable="false" >
+			<TextField fx:id="directoryPathField" text="${controller.directoryPath}" visible="${mountPointDirBtn.selected}" managed="${mountPointDirBtn.managed}" maxWidth="Infinity" editable="false">
 				<VBox.margin>
 					<Insets left="24"/>
 				</VBox.margin>