Skip to content

Commit

Permalink
Fix current song selection regression
Browse files Browse the repository at this point in the history
  • Loading branch information
jypelle committed Dec 11, 2021
1 parent 46ecaba commit 719520c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cliwa/homeCurrentComponent_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (c *HomeCurrentComponent) RefreshView() {
for songIdx, songId := range c.songIds {
song = c.app.localDb.Songs[songId]
songItemList[songIdx].SongId = string(song.Id)
songItemList[songIdx].SongIdx = songIdx
songItemList[songIdx].SongName = song.Name
songItemList[songIdx].IsPlaying = songIdx == c.currentSongIdx

Expand Down

0 comments on commit 719520c

Please sign in to comment.