Revert "Disable feature for other platforms than Mac"

This reverts commit d8b798ff0f.
This commit is contained in:
Ralph Plawetzki
2024-12-02 08:12:01 +01:00
parent ad49ca2cb4
commit 9e9aa20692

View File

@@ -1,6 +1,5 @@
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;
@@ -54,9 +53,6 @@ public class MasterkeyOptionsController implements FxController {
public void initialize() {
useTouchIDheckbox.selectedProperty().bindBidirectional(vault.getVaultSettings().useTouchID);
useTouchIDheckbox.selectedProperty().addListener(this::useTouchIDheckboxToggled);
if (!SystemUtils.IS_OS_MAC) {
useTouchIDheckbox.visibleProperty().set(false);
}
}
/**