Remove useless clearPopup() functions

This commit is contained in:
djmaze 2021-11-03 14:58:34 +01:00
parent ba895ba887
commit 2a7348081a
9 changed files with 20 additions and 82 deletions

View file

@ -82,15 +82,11 @@ class AddOpenPgpKeyPopupView extends AbstractViewPopup {
return true;
}
clearPopup() {
onShow() {
this.key('');
this.keyError(false);
this.keyErrorMessage('');
}
onShow() {
this.clearPopup();
}
}
export { AddOpenPgpKeyPopupView, AddOpenPgpKeyPopupView as default };