~exprez135/cryptomator-libre

11e3ee8d90d99f107180aa050c0d0f40819254fd — Sebastian Stenzel 1 year, 3 months ago 0664c67
formatted code
[ci skip]
M main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockSuccessController.java => main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockSuccessController.java +1 -1
@@ 31,7 31,7 @@ public class UnlockSuccessController implements FxController {
	private final VaultService vaultService;
	private final ObjectProperty<ContentDisplay> revealButtonState;
	private final BooleanProperty revealButtonDisabled;
	

	public CheckBox rememberChoiceCheckbox;

	@Inject

M main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java => main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockWorkflow.java +4 -2
@@ 95,7 95,7 @@ public class UnlockWorkflow extends Task<Boolean> {
			wipePassword(savedPassword.orElse(null));
		}
	}
	

	private boolean attemptUnlock() throws InterruptedException, IOException, Volume.VolumeException {
		boolean proceed = password.get() != null || askForPassword(false) == PasswordEntry.PASSWORD_ENTERED;
		while (proceed) {


@@ 117,7 117,9 @@ public class UnlockWorkflow extends Task<Boolean> {
			if (owner != null) {
				window.setX(owner.getX() + (owner.getWidth() - window.getWidth()) / 2);
				window.setY(owner.getY() + (owner.getHeight() - window.getHeight()) / 2);
			} else window.centerOnScreen();
			} else {
				window.centerOnScreen();
			}
			if (animateShake) {
				Animations.createShakeWindowAnimation(window).play();
			}