Merge pull request #562 from lkiesow/book-details-menu-items

Icons for book details menu
This commit is contained in:
advplyr
2023-02-08 16:56:00 -06:00
committed by GitHub
+12 -6
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