Skip to content

Commit

Permalink
change icon for epub
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Feb 8, 2024
1 parent 1705062 commit 82f64cf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

6 changes: 4 additions & 2 deletions packages/web-app-epub-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
"private": true,
"description": "ownCloud Web epub-reader",
"license": "AGPL-3.0",
"dependencies": {
"epubjs": "^0.3.93"
},
"devDependencies": {
"web-test-helpers": "workspace:*"
},
"peerDependencies": {
"@ownclouders/web-client": "workspace:*",
"@ownclouders/web-pkg": "workspace:*",
"vue3-gettext": "2.4.0",
"epubjs": "^0.3.93"
"vue3-gettext": "2.4.0"
}
}
3 changes: 1 addition & 2 deletions packages/web-app-epub-reader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ export default defineWebApplication({
appInfo: {
name: $gettext('Epub Reader'),
id: appId,
icon: 'file-text',
color: '#0D856F',
icon: 'book-read',
isFileEditor: true,
defaultExtension: 'epub',
extensions: fileExtensions().map((extensionItem) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-pkg/src/helpers/resource/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const fileIcon = {
extensions: ['mov', 'mp4', 'webm', 'wmv']
},
epub: {
icon: { name: 'resource-type-epub', color: 'var(--oc-color-text-default)' },
icon: { name: 'resource-type-book', color: 'var(--oc-color-text-default)' },
extensions: ['epub']
}
}
Expand Down

0 comments on commit 82f64cf

Please sign in to comment.