corrected a dumb mistake

This commit is contained in:
Zeapo 2014-08-09 01:12:51 +01:00
parent f75689d458
commit fca8ab5bd6

View file

@ -415,7 +415,7 @@ public class PgpHandler extends Activity {
return; return;
} }
if (pass.isEmpty() || extra.isEmpty()) { if (pass.isEmpty() && extra.isEmpty()) {
showToast("You cannot use an empty password or empty extra content"); showToast("You cannot use an empty password or empty extra content");
return; return;
} }