Skip to content

Commit

Permalink
fix(files_sharing): use proper sharing AccountPlus icon in breadcrumbs
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>

[skip ci]
  • Loading branch information
szaimen authored and backportbot[bot] committed Feb 8, 2024
1 parent 62a8f2d commit 918f97d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/files/src/views/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@click="openSharingSidebar">
<template #icon>
<LinkIcon v-if="shareButtonType === Type.SHARE_TYPE_LINK" />
<ShareVariantIcon v-else :size="20" />
<AccountPlusIcon v-else :size="20" />
</template>
</NcButton>

Expand Down Expand Up @@ -143,7 +143,7 @@ import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import ShareVariantIcon from 'vue-material-design-icons/ShareVariant.vue'
import AccountPlusIcon from 'vue-material-design-icons/AccountPlus.vue'
import ViewGridIcon from 'vue-material-design-icons/ViewGrid.vue'
import { action as sidebarAction } from '../actions/sidebarAction.ts'
Expand Down Expand Up @@ -177,7 +177,7 @@ export default defineComponent({
NcIconSvgWrapper,
NcLoadingIcon,
PlusIcon,
ShareVariantIcon,
AccountPlusIcon,
UploadPicker,
ViewGridIcon,
},
Expand Down Expand Up @@ -620,9 +620,9 @@ $navigationToggleSize: 50px;
}
&-share-button {
opacity: .3;
color: var(--color-text-maxcontrast) !important;
&--shared {
opacity: 1;
color: var(--color-main-text) !important;
}
}
}
Expand Down

0 comments on commit 918f97d

Please sign in to comment.