From fca8ab5bd6866d20ba0e27772b33e986791da89f Mon Sep 17 00:00:00 2001 From: Zeapo Date: Sat, 9 Aug 2014 01:12:51 +0100 Subject: corrected a dumb mistake --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java index 93aee0fa..58a150d8 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -415,7 +415,7 @@ public class PgpHandler extends Activity { return; } - if (pass.isEmpty() || extra.isEmpty()) { + if (pass.isEmpty() && extra.isEmpty()) { showToast("You cannot use an empty password or empty extra content"); return; } -- cgit v1.2.3