fix double-click queuing action in related tracklist

This commit is contained in:
Drew Weymouth
2024-06-20 08:11:10 -07:00
parent 1ed561c178
commit 96cbbf0e15
+1 -1
View File
@@ -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) {