diff --git a/apps/files/src/components/FilesAppBar.vue b/apps/files/src/components/FilesAppBar.vue index 91087bcdf4e..f3498677431 100644 --- a/apps/files/src/components/FilesAppBar.vue +++ b/apps/files/src/components/FilesAppBar.vue @@ -67,7 +67,7 @@ v-for="(newFileHandler, key) in newFileHandlers" :key="key" :class="'new-file-btn-' + newFileHandler.ext" - icon="save" + :icon="newFileHandler.icon || 'save'" @click="showCreateResourceModal(false, newFileHandler.ext, newFileHandler.action)" >{{ newFileHandler.menuTitle($gettext) }} diff --git a/changelog/unreleased/new-file-icon b/changelog/unreleased/new-file-icon new file mode 100644 index 00000000000..3a12bb857d9 --- /dev/null +++ b/changelog/unreleased/new-file-icon @@ -0,0 +1,5 @@ +Enhancement: Add custom icons in the new file menu + +We've added an option to display own icon in the new file menu. + +https://github.com/owncloud/phoenix/pull/4375