Revert "Improve thread handling"

This reverts commit c8075dbc19.
This commit is contained in:
Ralph Plawetzki
2024-12-02 08:11:01 +01:00
parent 63a3150ec3
commit 46e8a13555

View File

@@ -1,5 +1,6 @@
package org.cryptomator.ui.vaultoptions;
import org.apache.commons.lang3.SystemUtils;
import org.cryptomator.common.Passphrase;
import org.cryptomator.common.keychain.KeychainManager;
import org.cryptomator.common.vaults.Vault;
@@ -63,7 +64,7 @@ public class MasterkeyOptionsController implements FxController {
* @param wasSet
* @param isSet <code>true</code>, when the checkbox is ticked, <code>false</code> otherwise
*/
public synchronized void needAuthenticatedUserCheckboxToggled(Observable observable, Boolean wasSet, Boolean isSet) {
private void needAuthenticatedUserCheckboxToggled(Observable observable, Boolean wasSet, Boolean isSet) {
try {
var vaultId = vault.getId();
if (keychain.isPassphraseStored(vaultId)) {