Ver código fonte

fixed "encrypt anyway" button

Sebastian Stenzel 9 anos atrás
pai
commit
fc1a5be85f

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/model/Vault.java

@@ -166,7 +166,7 @@ public class Vault implements CryptoFileSystemDelegate {
 
 	@Override
 	public boolean shouldSkipAuthentication(String cleartextPath) {
-		return namesOfResourcesWithInvalidMac.contains(cleartextPath);
+		return whitelistedResourcesWithInvalidMac.contains(cleartextPath);
 	}
 
 	// ******************************************************************************