mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 07:57:30 +00:00
Clear passphrase field on invalid entry.
This commit is contained in:
parent
5bf5b404a1
commit
bac6b78b11
@ -65,6 +65,7 @@ public class PassphrasePromptActivity extends PassphraseActivity {
|
||||
MemoryCleaner.clean(passphrase);
|
||||
setMasterSecret(masterSecret);
|
||||
} catch (InvalidPassphraseException ipe) {
|
||||
passphraseText.setText("");
|
||||
Toast.makeText(getApplicationContext(),
|
||||
R.string.PassphrasePromptActivity_invalid_passphrase_exclamation,
|
||||
Toast.LENGTH_SHORT).show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user