Skip to content

Commit

Permalink
Merge pull request #3800 from nextcloud/feature/3688/close-icon-for-a…
Browse files Browse the repository at this point in the history
…pp-navigation-toggle

NcAppNavigation - change toggle icon for opened sidebar
  • Loading branch information
raimund-schluessler authored Feb 20, 2023
2 parents f688b22 + 848603f commit 0531fa6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
aria-controls="app-navigation-vue"
@click="toggleNavigation">
<template #icon>
<MenuIcon :size="20" />
<MenuOpenIcon v-if="open" :size="20" />
<MenuIcon v-else :size="20" />
</template>
</NcButton>
</template>
Expand All @@ -41,6 +42,7 @@ import Tooltip from '../../directives/Tooltip/index.js'
import { t } from '../../l10n.js'
import MenuIcon from 'vue-material-design-icons/Menu.vue'
import MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'
export default {
name: 'NcAppNavigationToggle',
Expand All @@ -52,6 +54,7 @@ export default {
components: {
NcButton,
MenuIcon,
MenuOpenIcon,
},
props: {
Expand Down

0 comments on commit 0531fa6

Please sign in to comment.