1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

remove unused code

This commit is contained in:
addison 2021-02-18 13:10:10 -05:00
parent 689f2c3535
commit 07e78d75d5

View File

@ -1,6 +1,6 @@
import { DatePipe } from '@angular/common'; import { DatePipe } from '@angular/common';
import { Component, Input } from '@angular/core'; import { Component } from '@angular/core';
import { EnvironmentService } from 'jslib/abstractions/environment.service'; import { EnvironmentService } from 'jslib/abstractions/environment.service';
import { I18nService } from 'jslib/abstractions/i18n.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', templateUrl: 'add-edit.component.html',
}) })
export class AddEditComponent extends BaseAddEditComponent { export class AddEditComponent extends BaseAddEditComponent {
showOptions = false;
constructor(i18nService: I18nService, platformUtilsService: PlatformUtilsService, constructor(i18nService: I18nService, platformUtilsService: PlatformUtilsService,
environmentService: EnvironmentService, datePipe: DatePipe, environmentService: EnvironmentService, datePipe: DatePipe,
sendService: SendService, userService: UserService, sendService: SendService, userService: UserService,
@ -39,10 +38,6 @@ export class AddEditComponent extends BaseAddEditComponent {
this.onCancelled.emit(this.send); this.onCancelled.emit(this.send);
} }
toggleOptions() {
this.showOptions = !this.showOptions;
}
copyLinkToClipboard(link: string) { copyLinkToClipboard(link: string) {
super.copyLinkToClipboard(link); super.copyLinkToClipboard(link);
this.platformUtilsService.showToast('success', null, this.platformUtilsService.showToast('success', null,