mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 04:01:27 +00:00
combined into a single if
This commit is contained in:
@@ -159,10 +159,8 @@ public class VaultListManager {
|
||||
try {
|
||||
VaultState.Value determined = determineVaultState(vault.getPath(), vault.getVaultSettings());
|
||||
|
||||
if (determined == MASTERKEY_MISSING) {
|
||||
if (KeyLoadingStrategy.isHubVault(vault.getVaultConfigCache().getUnchecked().getKeyId().getScheme())) {
|
||||
determined = LOCKED;
|
||||
}
|
||||
if (determined == MASTERKEY_MISSING && KeyLoadingStrategy.isHubVault(vault.getVaultConfigCache().getUnchecked().getKeyId().getScheme())) {
|
||||
determined = LOCKED;
|
||||
}
|
||||
|
||||
if (determined == LOCKED) {
|
||||
|
||||
Reference in New Issue
Block a user