mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07: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);
|
MemoryCleaner.clean(passphrase);
|
||||||
setMasterSecret(masterSecret);
|
setMasterSecret(masterSecret);
|
||||||
} catch (InvalidPassphraseException ipe) {
|
} catch (InvalidPassphraseException ipe) {
|
||||||
|
passphraseText.setText("");
|
||||||
Toast.makeText(getApplicationContext(),
|
Toast.makeText(getApplicationContext(),
|
||||||
R.string.PassphrasePromptActivity_invalid_passphrase_exclamation,
|
R.string.PassphrasePromptActivity_invalid_passphrase_exclamation,
|
||||||
Toast.LENGTH_SHORT).show();
|
Toast.LENGTH_SHORT).show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user