diff --git a/CHANGELOG.md b/CHANGELOG.md index 03b0048d..2c5b72eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -157,6 +157,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Fixed +### Album detail — no duplicate cover thumbs in tracklist + +**By [@cucadmuh](https://github.com/cucadmuh), reported by mikmik on the Psysonic Discord, PR [#1291](https://github.com/Psychotoxical/psysonic/pull/1291)** + +* The album detail tracklist no longer shows a small album cover on every row when **Settings → Appearance → Track lists** is enabled — the page already displays the album art above the list, so the per-row thumbs from #1280 duplicated the same image on every line (desktop and mobile). + ### Per-track covers when playing from a playlist **By [@Psychotoxical](https://github.com/Psychotoxical), PR [#1218](https://github.com/Psychotoxical/psysonic/pull/1218)**, reported by The Cup Slammer on Discord diff --git a/src/features/album/components/AlbumTrackListMobile.tsx b/src/features/album/components/AlbumTrackListMobile.tsx index d6417a3e..db5014b4 100644 --- a/src/features/album/components/AlbumTrackListMobile.tsx +++ b/src/features/album/components/AlbumTrackListMobile.tsx @@ -4,8 +4,6 @@ import type { SubsonicSong } from '@/lib/api/subsonicTypes'; import type { Track } from '@/lib/media/trackTypes'; import { songToTrack } from '@/lib/media/songToTrack'; import { formatLongDuration } from '@/lib/format/formatDuration'; -import { OptionalBrowseTrackRowCoverThumb } from '@/cover/TrackRowCoverThumb'; -import { useTrackListCoverArtEnabled } from '@/cover/useTrackListCoverArtSettings'; interface Props { discNums: number[]; @@ -43,8 +41,6 @@ export function AlbumTrackListMobile({ onPlaySong, onContextMenu, }: Props) { - const showCovers = useTrackListCoverArtEnabled('pages'); - return (