Skip to content

Commit

Permalink
feat(library song): hide unnecessary badge according to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
z-huang committed Sep 1, 2024
1 parent d312039 commit ef0b389
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ fun LibrarySongsScreen(
song = song,
isActive = song.id == mediaMetadata?.id,
isPlaying = isPlaying,
showLikedIcon = filter != SongFilter.LIKED,
showDownloadIcon = filter != SongFilter.DOWNLOADED,
trailingContent = {
if (inSelectMode) {
Checkbox(
Expand Down

0 comments on commit ef0b389

Please sign in to comment.