Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(files_sharing): use proper sharing AccountPlus icon in breadcrumbs
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen authored and skjnldsv committed Feb 8, 2024
commit a183a23e2b5d196e7a2ddde7af8f82919016c41a
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
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.