Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-06-02 10:49:24 +0300
committerVincent Petry <vincent@nextcloud.com>2021-06-02 10:50:32 +0300
commit077e1ebad213e1c2b48258df7392b61a735ea868 (patch)
tree20564d3d2e4315709a7254d41002078aa97a7b40 /src/components/NewMessageForm
parent1a1485a2e7602581a9987be11684dc0ec40b6b5b (diff)
Upload icon is now material design "attachment"
Use attachment icon from material design for file uploads. Also fixes an alignment issue with nextcloud-vue 4.0.0. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index 16268f432..ddf9ef070 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -43,9 +43,13 @@
ref="uploadMenu"
container="#content-vue"
:disabled="disabled"
- default-icon="icon-clip-add-file"
:aria-label="t('spreed', 'Share files to the conversation')"
:aria-haspopup="true">
+ <Attachment
+ slot="icon"
+ :size="16"
+ decorative
+ title="" />
<ActionButton
v-if="canUploadFiles"
:close-after-click="true"
@@ -125,6 +129,7 @@ import EmojiPicker from '@nextcloud/vue/dist/Components/EmojiPicker'
import { EventBus } from '../../services/EventBus'
import { shareFile } from '../../services/filesSharingServices'
import { CONVERSATION } from '../../constants'
+import Attachment from 'vue-material-design-icons/Attachment'
import EmoticonOutline from 'vue-material-design-icons/EmoticonOutline'
import Send from 'vue-material-design-icons/Send'
@@ -142,6 +147,7 @@ export default {
Quote,
Actions,
ActionButton,
+ Attachment,
EmojiPicker,
EmoticonOutline,
Send,