diff --git a/apps/desktop/src/app/send/send.component.ts b/apps/desktop/src/app/send/send.component.ts index 4c96a93ae44..2ba29cc4ad1 100644 --- a/apps/desktop/src/app/send/send.component.ts +++ b/apps/desktop/src/app/send/send.component.ts @@ -132,6 +132,18 @@ export class SendComponent extends BaseSendComponent implements OnInit, OnDestro label: this.i18nService.t("copyLink"), click: () => this.copy(send), }); + if (send.password && !send.disabled) { + menu.push({ + label: this.i18nService.t("removePassword"), + click: async () => { + await this.removePassword(send); + if (this.sendId === send.id) { + this.sendId = null; + this.selectSend(send.id); + } + }, + }); + } menu.push({ label: this.i18nService.t("delete"), click: async () => { diff --git a/apps/desktop/src/locales/en/messages.json b/apps/desktop/src/locales/en/messages.json index fd168510b38..1ca90e8ce2f 100644 --- a/apps/desktop/src/locales/en/messages.json +++ b/apps/desktop/src/locales/en/messages.json @@ -1779,6 +1779,15 @@ "disabled": { "message": "Disabled" }, + "removePassword": { + "message": "Remove password" + }, + "removedPassword": { + "message": "Password removed" + }, + "removePasswordConfirmation": { + "message": "Are you sure you want to remove the password?" + }, "maxAccessCountReached": { "message": "Max access count reached" },