From d69e45f7bfe0d9f012debfa7eed4e78aa41cbb6f Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 20 Sep 2022 12:29:27 +0200 Subject: [PATCH] Drop unused TextAreaComponent --- dev/App/Abstract.js | 2 -- dev/Component/TextArea.js | 12 ------------ .../app/templates/Views/Components/TextArea.html | 5 ----- 3 files changed, 19 deletions(-) delete mode 100644 dev/Component/TextArea.js delete mode 100644 snappymail/v/0.0.0/app/templates/Views/Components/TextArea.html diff --git a/dev/App/Abstract.js b/dev/App/Abstract.js index a1a385bba..7d215246b 100644 --- a/dev/App/Abstract.js +++ b/dev/App/Abstract.js @@ -10,7 +10,6 @@ import { ThemeStore } from 'Stores/Theme'; import { InputComponent } from 'Component/Input'; import { SelectComponent } from 'Component/Select'; -import { TextAreaComponent } from 'Component/TextArea'; import { CheckboxMaterialDesignComponent } from 'Component/MaterialDesign/Checkbox'; import { CheckboxComponent } from 'Component/Checkbox'; @@ -49,7 +48,6 @@ export class AbstractApp { register('Input', InputComponent); register('Select', SelectComponent); - register('TextArea', TextAreaComponent); register('Checkbox', CheckboxMaterialDesignComponent, 'CheckboxMaterialDesignComponent'); register('CheckboxSimple', CheckboxComponent, 'CheckboxComponent'); diff --git a/dev/Component/TextArea.js b/dev/Component/TextArea.js deleted file mode 100644 index f9eedffcb..000000000 --- a/dev/Component/TextArea.js +++ /dev/null @@ -1,12 +0,0 @@ -import { AbstractInput } from 'Component/AbstractInput'; - -export class TextAreaComponent extends AbstractInput { - /** - * @param {Object} params - */ - constructor(params) { - super(params); - - this.rows = params.rows || 5; - } -} diff --git a/snappymail/v/0.0.0/app/templates/Views/Components/TextArea.html b/snappymail/v/0.0.0/app/templates/Views/Components/TextArea.html deleted file mode 100644 index b0fa31e9a..000000000 --- a/snappymail/v/0.0.0/app/templates/Views/Components/TextArea.html +++ /dev/null @@ -1,5 +0,0 @@ - - - -