add select all shortcut to album and playlist pages

This commit is contained in:
Drew Weymouth
2023-02-10 19:55:30 -08:00
parent 28fc4271a3
commit 14e1bb0bf4
5 changed files with 26 additions and 0 deletions
+4
View File
@@ -99,6 +99,10 @@ func (a *PlaylistPage) Tapped(*fyne.PointEvent) {
a.tracklist.UnselectAll()
}
func (a *PlaylistPage) SelectAll() {
a.tracklist.SelectAll()
}
func (a *PlaylistPage) onPlayTrackAt(tracknum int) {
a.pm.PlayPlaylist(a.playlistID, tracknum)
}