fixed various bugs with inserting and adding tracks

This commit is contained in:
Siiiiinth
2026-02-15 09:29:48 -08:00
committed by Drew Weymouth
parent acfead5b84
commit c09ec3673a
10 changed files with 78 additions and 68 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func (a *FavoritesPage) createHeader(activeBtnIdx int) {
widget.NewButtonWithIcon("", myTheme.TracksIcon, a.onShowFavoriteSongs))
a.shuffleBtn = widget.NewButtonWithIcon(lang.L("Shuffle"), myTheme.ShuffleIcon, func() {
if tr := a.tracklistOrNil(); tr != nil {
a.pm.LoadTracks(tr.GetTracks(), backend.Replace, backend.Both, true /*shuffle*/)
a.pm.LoadTracks(tr.GetTracks(), backend.Replace, true /*shuffle*/)
a.pm.PlayFromBeginning()
}
})