diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-07 17:03:51 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-09-07 17:04:13 +0200 |
commit | 597eb268f4bdc28c3cba8c5d24986f3699453e71 (patch) | |
tree | d9f78e7b71c4bd124387ce32cdc6f35c5a23a43d | |
parent | 3ba2e0b0c16dc1d03c47b3fe6ebd3251219b2d82 (diff) | |
download | open-keychain-597eb268f4bdc28c3cba8c5d24986f3699453e71.tar.gz open-keychain-597eb268f4bdc28c3cba8c5d24986f3699453e71.tar.bz2 open-keychain-597eb268f4bdc28c3cba8c5d24986f3699453e71.zip |
add error text on bad passphrase
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/PassphraseDialogFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/PassphraseDialogFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/PassphraseDialogFragment.java index d433677a3..2c8fc29d4 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/PassphraseDialogFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/PassphraseDialogFragment.java @@ -289,8 +289,8 @@ public class PassphraseDialogFragment extends DialogFragment implements OnEditor // if the passphrase was wrong, reset and re-enable the dialogue if (!result) { - // TODO add a "bad passphrase" dialogue? mPassphraseEditText.setText(""); + mPassphraseEditText.setError(getString(R.string.wrong_passphrase)); mInput.setVisibility(View.VISIBLE); mProgress.setVisibility(View.GONE); positive.setEnabled(true); |