Skip to content

Commit

Permalink
fix(NotificationsApp): replace 'Close' -> 'Delete' icon
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Dec 23, 2024
1 parent d886223 commit f1e41a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Components/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:aria-label="t('notifications', 'Dismiss')"
@click="onDismissNotification">
<template #icon>
<Close :size="20" />
<IconDelete :size="20" />
</template>
</NcButton>
</div>
Expand Down Expand Up @@ -84,7 +84,7 @@
import axios from '@nextcloud/axios'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcRichText from '@nextcloud/vue/dist/Components/NcRichText.js'
import Close from 'vue-material-design-icons/Close.vue'
import IconDelete from 'vue-material-design-icons/Delete.vue'
import Message from 'vue-material-design-icons/Message.vue'
import { showError } from '@nextcloud/dialogs'
import Action from './Action.vue'
Expand All @@ -100,7 +100,7 @@ export default {
components: {
Action,
NcButton,
Close,
IconDelete,
Message,
NcRichText,
},
Expand Down
6 changes: 3 additions & 3 deletions src/NotificationsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
wide
@click="onDismissAll">
<template #icon>
<IconClose :size="20" />
<IconDelete :size="20" />
</template>
{{ t('notifications', 'Dismiss all notifications') }}
</NcButton>
Expand Down Expand Up @@ -79,7 +79,7 @@

<script>
import IconBell from 'vue-material-design-icons/Bell.vue'
import IconClose from 'vue-material-design-icons/Close.vue'
import IconDelete from 'vue-material-design-icons/Delete.vue'
import IconMessage from 'vue-material-design-icons/Message.vue'
import IconNotification from './Components/IconNotification.vue'
import Notification from './Components/Notification.vue'
Expand All @@ -105,7 +105,7 @@ export default {

components: {
IconBell,
IconClose,
IconDelete,
IconMessage,
IconNotification,
NcButton,
Expand Down

0 comments on commit f1e41a3

Please sign in to comment.