Skip to content

Commit

Permalink
UTF-8 fix and download playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelliethy authored and sheikhhaziq committed Sep 25, 2024
1 parent ed0de18 commit 2891461
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/utils/bottom_modals.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,15 @@ _playlistBottomModal(BuildContext context, Map playlist) {
await GetIt.I<MediaPlayer>().addToQueue(Map.from(playlist));
},
),
AdaptiveListTile(
dense: true,
title: Text(S.of(context).Download),
leading: Icon(AdaptiveIcons.download),
onTap: () async {
Navigator.pop(context);
GetIt.I<DownloadManager>().downloadPlaylist(playlist);
},
),
if (playlist['isPredefined'] == false)
AdaptiveListTile(
dense: true,
Expand Down

0 comments on commit 2891461

Please sign in to comment.