mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-26 00:48:51 -05:00
Merge branch 'master' of github.com:open-keychain/open-keychain
This commit is contained in:
commit
1f477c8059
@ -289,8 +289,8 @@ public class PassphraseDialogFragment extends DialogFragment implements OnEditor
|
|||||||
|
|
||||||
// if the passphrase was wrong, reset and re-enable the dialogue
|
// if the passphrase was wrong, reset and re-enable the dialogue
|
||||||
if (!result) {
|
if (!result) {
|
||||||
// TODO add a "bad passphrase" dialogue?
|
|
||||||
mPassphraseEditText.setText("");
|
mPassphraseEditText.setText("");
|
||||||
|
mPassphraseEditText.setError(getString(R.string.wrong_passphrase));
|
||||||
mInput.setVisibility(View.VISIBLE);
|
mInput.setVisibility(View.VISIBLE);
|
||||||
mProgress.setVisibility(View.GONE);
|
mProgress.setVisibility(View.GONE);
|
||||||
positive.setEnabled(true);
|
positive.setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user