Commit hoarding is a problem

This commit is contained in:
2022-04-27 10:14:36 +02:00
parent 6ff89f913d
commit 85c3cdf57f
10 changed files with 225 additions and 124 deletions

View File

@@ -31,3 +31,13 @@ func newTrackVolumeCmd(volume float64) tea.Cmd {
return trackVolumeMsg{volume}
}
}
type libraryUpdateMsg struct {
tracks []track
}
func newLibraryUpdateCmd(tracks []track) tea.Cmd {
return func() tea.Msg {
return libraryUpdateMsg{tracks}
}
}