Closed Pythonix closed 2 years ago
Thanks! That makes sense.
However, it would feel more natural if the password is cleared when the error dialog is closed. Could you change that? In showDecryptionFailed
, you can add an onRemoving
callback to the .show()
-arguments:
this.$mdDialog.show({
...
onRemoving: () => { this.clearPassword(); },
});
(Untested)
Thanks, I adopted your suggestion and tested it. Works as intended.
Thanks! Looks good now 🙂
Currently, after the notification that the password entry was incorrect, the password must be deleted manually. This PR will automatically delete the password.