diff --git a/src/org/thialfihar/android/apg/EditKeyActivity.java b/src/org/thialfihar/android/apg/EditKeyActivity.java index b44cc145d..72c119246 100644 --- a/src/org/thialfihar/android/apg/EditKeyActivity.java +++ b/src/org/thialfihar/android/apg/EditKeyActivity.java @@ -116,7 +116,7 @@ public class EditKeyActivity extends BaseActivity implements OnClickListener { public boolean havePassPhrase() { return (Apg.getPassPhrase() != null && !Apg.getPassPhrase().equals("")) || - (mNewPassPhrase != null && mNewPassPhrase.equals("")); + (mNewPassPhrase != null && !mNewPassPhrase.equals("")); } @Override