Skip to content

Commit

Permalink
fix playlist download icon aligment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcarter11 committed Oct 21, 2024
1 parent 8cc1063 commit c6f5a7f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ fun LocalPlaylistScreen(
val mediaMetadata by playerConnection.mediaMetadata.collectAsState()

val playlist by viewModel.playlist.collectAsState()
val liked = playlist?.playlist?.bookmarkedAt != null

val songs by viewModel.playlistSongs.collectAsState()
val mutableSongs = remember { mutableStateListOf<PlaylistSong>() }
Expand Down Expand Up @@ -685,7 +684,7 @@ fun LocalPlaylistHeader(
fontSizeRange = FontSizeRange(16.sp, 22.sp)
)

Row {
Row(verticalAlignment = Alignment.CenterVertically) {
if (playlist.downloadCount > 0){
Icon(
imageVector = Icons.Rounded.OfflinePin,
Expand Down

0 comments on commit c6f5a7f

Please sign in to comment.