Skip to content

Commit

Permalink
add to next up on dismiss/swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphasilor committed Nov 23, 2023
1 parent 5de23fa commit 6b36228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/AlbumScreen/song_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ class _SongListTileState extends State<SongListTile> {
),
),
confirmDismiss: (direction) async {
await _queueService.addToQueue(
await _queueService.addToNextUp(
items: [widget.item],
source: QueueItemSource(
type: QueueItemSourceType.unknown,
Expand All @@ -483,7 +483,7 @@ class _SongListTileState extends State<SongListTile> {
if (!mounted) return false;

ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text(AppLocalizations.of(context)!.addedToQueue),
content: Text(AppLocalizations.of(context)!.confirmAddToNextUp("track")),
));

return false;
Expand Down

0 comments on commit 6b36228

Please sign in to comment.