From 699976dcd856f5fc1073bbdac3337553e0226359 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Mon, 16 Jan 2023 23:54:23 +0100 Subject: [PATCH] Make Player Menu Items Look Alike Instead of handling some items of the player menu as special cases, adding icons and colors, this patch allows menu items to have icons in general, allowing for the removal of the special cases. This also makes it easy to actually use a homogeneous style for all of the player menu items, letting them all have an icon and aligning them visually. --- components/app/AudioPlayer.vue | 22 +++------------------- components/modals/Dialog.vue | 1 + 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/components/app/AudioPlayer.vue b/components/app/AudioPlayer.vue index b9adc80e..c2972b8d 100644 --- a/components/app/AudioPlayer.vue +++ b/components/app/AudioPlayer.vue @@ -99,24 +99,7 @@ - - - - + @@ -190,7 +173,8 @@ export default { if (this.$platform !== 'ios' && !this.isPodcast && this.mediaId) { items.push({ text: 'History', - value: 'history' + value: 'history', + icon: 'history' }) } diff --git a/components/modals/Dialog.vue b/components/modals/Dialog.vue index 31041ff8..4eba3e28 100644 --- a/components/modals/Dialog.vue +++ b/components/modals/Dialog.vue @@ -13,6 +13,7 @@
  • + {{ item.icon }}

    {{ item.text }}