Skip to content

Commit

Permalink
Merge pull request #4035 from nextcloud/fix/design/settings-toggle
Browse files Browse the repository at this point in the history
fix: redesign seetings toggle to Nextcloud 30 style
  • Loading branch information
hamza221 authored Jul 17, 2024
2 parents 55f94ef + 3e2e7e3 commit fa39393
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/components/AppNavigation/RootNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,11 @@

<template #footer>
<div class="contacts-settings">
<Button v-if="!loading"
class="contacts-settings-button"
:wide="true"
:close-after-click="true"
<AppNavigationItem :aria-label="t('contacts', 'Open the contacts app settings')"
:name="CONTACTS_SETTINGS"
@click="showContactsSettings">
<template #icon>
<Cog :size="20" />
</template>
{{ CONTACTS_SETTINGS }}
</Button>
<Cog slot="icon" :size="20" />
</AppNavigationItem>
</div>
</template>
<ContactsSettings :open.sync="showSettings" />
Expand All @@ -178,7 +173,6 @@ import {
NcActionText as ActionText,
NcActionButton,
NcAppNavigation as AppNavigation,
NcButton as Button,
NcCounterBubble,
NcAppNavigationItem as AppNavigationItem,
NcAppNavigationCaption as AppNavigationCaption,
Expand Down Expand Up @@ -212,7 +206,6 @@ export default {
ActionText,
NcActionButton,
AppNavigation,
Button,
NcCounterBubble,
AppNavigationItem,
AppNavigationCaption,
Expand Down

0 comments on commit fa39393

Please sign in to comment.