Skip to content

Commit

Permalink
fix queue source when offline and tapping track
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphasilor committed Sep 18, 2024
1 parent 36e65c7 commit b97e741
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/components/AlbumScreen/song_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,12 @@ class _SongListTileState extends ConsumerState<SongListTile>
(element) => element.id == widget.item.id)
: await widget.index,
source: QueueItemSource(
name: const QueueItemSourceName(
type: QueueItemSourceNameType.mix),
name: QueueItemSourceName(
type: widget.item.name != null
? QueueItemSourceNameType.mix
: QueueItemSourceNameType.instantMix,
localizationParameter: widget.item.name ?? "",
),
type: QueueItemSourceType.allSongs,
id: widget.item.id,
),
Expand Down

0 comments on commit b97e741

Please sign in to comment.