Icons for book details menu

This patch adds icons similar to those used in other app menus to the
book details menu.
This commit is contained in:
Lars Kiesow 2023-02-08 23:09:52 +01:00
parent 50a53ec0d1
commit 9866a787bd
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -368,21 +368,24 @@ export default {
if (!this.isIos) { if (!this.isIos) {
items.push({ items.push({
text: 'History', text: 'History',
value: 'history' value: 'history',
icon: 'history'
}) })
} }
if (!this.userIsFinished) { if (!this.userIsFinished) {
items.push({ items.push({
text: 'Mark as Finished', text: 'Mark as Finished',
value: 'markFinished' value: 'markFinished',
icon: 'beenhere'
}) })
} }
if (this.progressPercent > 0) { if (this.progressPercent > 0) {
items.push({ items.push({
text: 'Discard Progress', text: 'Discard Progress',
value: 'discardProgress' value: 'discardProgress',
icon: 'backspace'
}) })
} }
} }
@ -390,20 +393,23 @@ export default {
if (this.localLibraryItemId) { if (this.localLibraryItemId) {
items.push({ items.push({
text: 'Manage Local Files', text: 'Manage Local Files',
value: 'manageLocal' value: 'manageLocal',
icon: 'folder'
}) })
} }
if (!this.isPodcast && this.serverLibraryItemId) { if (!this.isPodcast && this.serverLibraryItemId) {
items.push({ items.push({
text: 'Add to Playlist', text: 'Add to Playlist',
value: 'playlist' value: 'playlist',
icon: 'playlist_add'
}) })
} }
items.push({ items.push({
text: 'More Info', text: 'More Info',
value: 'details' value: 'details',
icon: 'info'
}) })
return items return items