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
@@ -108,6 +108,10 @@ func (a *AlbumPage) Tapped(*fyne.PointEvent) {
a.tracklist.UnselectAll()
}
func (a *AlbumPage) SelectAll() {
a.tracklist.SelectAll()
}
func (a *AlbumPage) onPlayTrackAt(tracknum int) {
a.pm.PlayAlbum(a.albumID, tracknum)
}