diff options
author | Zeapo <mohamed@zenadi.com> | 2014-08-09 01:12:51 +0100 |
---|---|---|
committer | Zeapo <mohamed@zenadi.com> | 2014-08-09 01:12:51 +0100 |
commit | fca8ab5bd6866d20ba0e27772b33e986791da89f (patch) | |
tree | 731c50d6ef0aa5d880fb42cc2dd34f5f1d52bafa /app/src/main/java | |
parent | f75689d458d1bc4d0dc8da41341ac483ddbca738 (diff) |
corrected a dumb mistake
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |