Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
fast4x committed Jan 31, 2025
2 parents 7f38bbc + d160c20 commit 543c757
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ fun AlbumDetails(
var forceRecompose by remember { mutableStateOf(false) }
SongItem(
mediaItem = song.asMediaItem,
downloadState = downloadState,
downloadState = getDownloadState(song.asMediaItem.mediaId),
onDownloadClick = {
binder?.cache?.removeResource(song.asMediaItem.mediaId)
Database.asyncTransaction {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ fun ArtistOverviewItems(
thumbnailContent = {
NowPlayingSongIndicator(item.asMediaItem.mediaId, binder?.player)
},
downloadState = downloadState,
downloadState = getDownloadState(item.asMediaItem.mediaId),
thumbnailSizeDp = songThumbnailSizeDp,
thumbnailSizePx = songThumbnailSizePx,
modifier = Modifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ fun PlaylistSongList(
downloadState = isDownloaded
)
},
downloadState = downloadState,
downloadState = getDownloadState(song.asMediaItem.mediaId),
thumbnailSizePx = songThumbnailSizePx,
thumbnailSizeDp = songThumbnailSizeDp,
modifier = Modifier
Expand Down

0 comments on commit 543c757

Please sign in to comment.