]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/input-text.component.ts
Better icon names
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / input-text.component.ts
index d9722e6c6417b86b021c0185f160f96340638ffb..1e1da67713e1cefb96ee9da938c639a62b399ee4 100644 (file)
@@ -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) {