Skip to content

Commit a183a23

Browse files
szaimenskjnldsv
authored andcommitted
fix(files_sharing): use proper sharing AccountPlus icon in breadcrumbs
Signed-off-by: Simon L <szaimen@e.mail.de>
1 parent 9e90401 commit a183a23

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

apps/files/src/views/FilesList.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@click="openSharingSidebar">
3636
<template #icon>
3737
<LinkIcon v-if="shareButtonType === Type.SHARE_TYPE_LINK" />
38-
<ShareVariantIcon v-else :size="20" />
38+
<AccountPlusIcon v-else :size="20" />
3939
</template>
4040
</NcButton>
4141

@@ -143,7 +143,7 @@ import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
143143
import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
144144
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
145145
import PlusIcon from 'vue-material-design-icons/Plus.vue'
146-
import ShareVariantIcon from 'vue-material-design-icons/ShareVariant.vue'
146+
import AccountPlusIcon from 'vue-material-design-icons/AccountPlus.vue'
147147
import ViewGridIcon from 'vue-material-design-icons/ViewGrid.vue'
148148
149149
import { action as sidebarAction } from '../actions/sidebarAction.ts'
@@ -177,7 +177,7 @@ export default defineComponent({
177177
NcIconSvgWrapper,
178178
NcLoadingIcon,
179179
PlusIcon,
180-
ShareVariantIcon,
180+
AccountPlusIcon,
181181
UploadPicker,
182182
ViewGridIcon,
183183
},
@@ -620,9 +620,9 @@ $navigationToggleSize: 50px;
620620
}
621621
622622
&-share-button {
623-
opacity: .3;
623+
color: var(--color-text-maxcontrast) !important;
624624
&--shared {
625-
opacity: 1;
625+
color: var(--color-main-text) !important;
626626
}
627627
}
628628
}

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)