fix(web): drop the downloaded icon from queue rows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
55c4cd5a79
commit
3cb7eaf988
1 file changed
+3
-1
@@ -278,7 +278,9 @@ function TrackRowComponent({
|
||||
const inRange = isInSelectionRange(selectionPosition)
|
||||
const downloadState = useSongDownloadState(song.id, downloadCollection)
|
||||
const isDownloaded = downloadState === "here"
|
||||
const showDownloaded = isDownloaded || downloadState === "device"
|
||||
// The queue row only shows the duration, like the mobile queue.
|
||||
const showDownloaded =
|
||||
variant !== "queue" && (isDownloaded || downloadState === "device")
|
||||
const flush = variant === "library" || variant === "queue"
|
||||
const play = () => onPlay(index)
|
||||
const toggleFavorite = () => onToggleFavorite?.(song.id)
|
||||
|
||||
Reference in new issue
Block a user