Skip to content

Commit

Permalink
fix double-click queuing action in related tracklist
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jun 20, 2024
1 parent 1ed561c commit 96cbbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/browsing/nowplayingpage.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func NewNowPlayingPage(
a.relatedList.OnSetRating = a.queueList.OnSetRating
a.relatedList.OnSetFavorite = a.queueList.OnSetFavorite
a.relatedList.OnPlayItemAt = func(idx int) {
a.pm.LoadTracks([]*mediaprovider.Track{a.related[idx]}, backend.Replace, false)
a.pm.LoadTracks(a.related, backend.Replace, false)
a.pm.PlayTrackAt(idx)
}
a.relatedList.OnAddToQueue = func(items []mediaprovider.MediaItem) {
Expand Down

0 comments on commit 96cbbf0

Please sign in to comment.