Skip to content

Commit

Permalink
Improve menu wording
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
  • Loading branch information
marcoambrosini committed Feb 20, 2020
1 parent d673493 commit 59b54cc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/NewMessageForm/NewMessageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,19 @@
<Actions
default-icon="icon-clip-add-file"
class="new-message-form__button">
<ActionText>{{t('spreed', 'Add a file')}}</ActionText>

<ActionButton
v-if="!currentUserIsGuest"
:close-after-click="true"
icon="icon-upload"
@click.prevent="clickImportInput">
{{t('spreed', 'Upload from device')}}
{{t('spreed', 'Upload new file')}}
</ActionButton>
<ActionButton
v-if="!currentUserIsGuest"
:close-after-click="true"
icon="icon-folder"
@click.prevent="handleFileShare">
{{t('spreed', 'Add from Nextcloud')}}
{{t('spreed', 'Share from Files')}}
</ActionButton>
</Actions>
</div>
Expand Down Expand Up @@ -85,7 +83,6 @@ import { postNewMessage } from '../../services/messagesService'
import Quote from '../Quote'
import Actions from '@nextcloud/vue/dist/Components/Actions'
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
import ActionText from '@nextcloud/vue/dist/Components/ActionText'
import client from '../../services/DavClient'

const picker = getFilePickerBuilder(t('spreed', 'File to share'))
Expand All @@ -102,7 +99,6 @@ export default {
Quote,
Actions,
ActionButton,
ActionText,
},
data: function() {
return {
Expand Down

0 comments on commit 59b54cc

Please sign in to comment.