add text info

This commit is contained in:
Aynakeya
2022-07-01 19:10:29 -07:00
parent 332f46bdbd
commit 595eebdb1c
91 changed files with 278 additions and 9797 deletions

View File

@@ -137,10 +137,10 @@ func createPlaylistMedias() fyne.CanvasObject {
object.(*fyne.Container).Objects[1].(*widget.Label).SetText(fmt.Sprintf("%d", id))
btns := object.(*fyne.Container).Objects[2].(*fyne.Container).Objects
btns[0].(*widget.Button).OnTapped = func() {
controller.Play(m)
controller.Play(controller.ToSystemMedia(m))
}
btns[1].(*widget.Button).OnTapped = func() {
controller.UserPlaylist.Push(m)
controller.UserPlaylist.Push(controller.ToSystemMedia(m))
}
})
return container.NewBorder(