X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-forms%2Finput-text.component.ts;h=1e1da67713e1cefb96ee9da938c639a62b399ee4;hb=dc1296a9abfeeb714f321454dde32389a0f40c7e;hp=d9722e6c6417b86b021c0185f160f96340638ffb;hpb=93c728a25a87cf6dae5fc49d42d6af52ff7f7ff2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-forms/input-text.component.ts b/client/src/app/shared/shared-forms/input-text.component.ts index d9722e6c6..1e1da6771 100644 --- a/client/src/app/shared/shared-forms/input-text.component.ts +++ b/client/src/app/shared/shared-forms/input-text.component.ts @@ -1,7 +1,7 @@ import { Component, forwardRef, Input } from '@angular/core' import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms' import { Notifier } from '@app/core' -import { GlobalIconName } from '../shared-icons' + @Component({ selector: 'my-input-text', @@ -48,12 +48,6 @@ export class InputTextComponent implements ControlValueAccessor { this.notifier.success($localize`Copied`) } - getEyeIcon (): GlobalIconName { - if (this.show) return 'sensitive' - - return 'unsensitive' - } - propagateChange = (_: any) => { /* empty */ } writeValue (value: string) {