summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorZeapo <mohamed@zenadi.com>2014-08-09 01:12:51 +0100
committerZeapo <mohamed@zenadi.com>2014-08-09 01:12:51 +0100
commitfca8ab5bd6866d20ba0e27772b33e986791da89f (patch)
tree731c50d6ef0aa5d880fb42cc2dd34f5f1d52bafa /app/src/main/java
parentf75689d458d1bc4d0dc8da41341ac483ddbca738 (diff)
corrected a dumb mistake
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java2
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;
}