From f5a04980a4b83092470cff381b21320001cf8683 Mon Sep 17 00:00:00 2001 From: Pyx <91509874+pyxfluff@users.noreply.github.com> Date: Thu, 29 Aug 2024 23:03:00 -0400 Subject: [PATCH] Add play count to albums --- .../features/albums/components/album-detail-header.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/features/albums/components/album-detail-header.tsx b/src/renderer/features/albums/components/album-detail-header.tsx index 1c59a49e..47387599 100644 --- a/src/renderer/features/albums/components/album-detail-header.tsx +++ b/src/renderer/features/albums/components/album-detail-header.tsx @@ -48,6 +48,10 @@ export const AlbumDetailHeader = forwardRef( value: detailQuery?.data?.duration && formatDurationString(detailQuery.data.duration), }, + { + id: 'playCount', + value: `${detailQuery?.data?.playCount} plays`, + }, ]; if (originalDifferentFromRelease) {