diff --git a/src/app/send/add-edit.component.ts b/src/app/send/add-edit.component.ts index 2368dfcac3..6b38b73d98 100644 --- a/src/app/send/add-edit.component.ts +++ b/src/app/send/add-edit.component.ts @@ -1,6 +1,6 @@ import { DatePipe } from '@angular/common'; -import { Component, Input } from '@angular/core'; +import { Component } from '@angular/core'; import { EnvironmentService } from 'jslib/abstractions/environment.service'; import { I18nService } from 'jslib/abstractions/i18n.service'; @@ -17,7 +17,6 @@ import { AddEditComponent as BaseAddEditComponent } from 'jslib/angular/componen templateUrl: 'add-edit.component.html', }) export class AddEditComponent extends BaseAddEditComponent { - showOptions = false; constructor(i18nService: I18nService, platformUtilsService: PlatformUtilsService, environmentService: EnvironmentService, datePipe: DatePipe, sendService: SendService, userService: UserService, @@ -39,10 +38,6 @@ export class AddEditComponent extends BaseAddEditComponent { this.onCancelled.emit(this.send); } - toggleOptions() { - this.showOptions = !this.showOptions; - } - copyLinkToClipboard(link: string) { super.copyLinkToClipboard(link); this.platformUtilsService.showToast('success', null,