Skip to content

Commit afcbae2

Browse files
susnuxbackportbot[bot]
authored andcommitted
fix(filepicker): use proper folder icons
We need AccountGroup instead of just Group (wrong icon). Also its the key icon instead of the lock icon for encryption (to be inline with files app). Also use outlines icons. Signed-off-by: Ferdinand Thiessen <[email protected]> [skip ci]
1 parent 6bb6f6a commit afcbae2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/components/FilePicker/FilePreview.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<script setup lang="ts">
2424
import type { INode } from '@nextcloud/files'
2525
26-
import { mdiAccountPlus, mdiGroup, mdiLink, mdiLock, mdiNetwork, mdiTag } from '@mdi/js'
26+
import { mdiAccountGroupOutline, mdiAccountPlus, mdiKey, mdiLink, mdiNetworkOutline, mdiTagOutline } from '@mdi/js'
2727
import { FileType } from '@nextcloud/files'
2828
import { ShareType } from '@nextcloud/sharing'
2929
import { computed, ref, toRef } from 'vue'
@@ -57,12 +57,12 @@ const folderDecorationIcon = computed(() => {
5757
5858
// Encrypted folders
5959
if (props.node.attributes?.['is-encrypted'] === 1) {
60-
return mdiLock
60+
return mdiKey
6161
}
6262
6363
// System tags
6464
if (props.node.attributes?.['is-tag']) {
65-
return mdiTag
65+
return mdiTagOutline
6666
}
6767
6868
// Link and mail shared folders

0 commit comments

Comments
 (0)